Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

update document title

Ginger Wong9d6865e25f3a
diff --git a/webroot/index.html b/webroot/index.html
index 9fba01f7bf..0b3ad9fae0 100644
--- a/webroot/index.html
+++ b/webroot/index.html
@@ -2,9 +2,6 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
-
- <title>{{title}}</title>
-
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet" />
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
@@ -30,7 +27,7 @@ GW TODO:
*/
</script>
<body class="bg-gray-300 text-gray-800">
- <div id="app-container" v-cloak class="flex no-chat">
+ <div id="app-container" v-cloak class="flex no-chat">
<div id="top-content">
<header class="flex border-b border-gray-900 border-solid shadow-md">
diff --git a/webroot/js/app.js b/webroot/js/app.js
index e7455a6c8b..d30963da41 100644
--- a/webroot/js/app.js
+++ b/webroot/js/app.js
@@ -46,8 +46,9 @@ async function setupApp() {
app.streamerName = config.name;
app.summary = config.summary && addNewlines(config.summary);
app.tags = config.tags;
- app.title = config.title;
app.appVersion = config.version;
+ app.title = config.title;
+ window.document.title = config.title;
try {