Browse Source

use app file from web-layout

pull/5/head
Ginger Wong 5 years ago
parent
commit
69ba10a898
  1. 6
      webroot/js/app.js

6
webroot/js/app.js

@ -8,7 +8,7 @@ function setupApp() { @@ -8,7 +8,7 @@ function setupApp() {
})
window.app = new Vue({
el: "#info",
el: "#app",
data: {
streamStatus: "",
viewerCount: 0,
@ -23,7 +23,7 @@ function setupApp() { @@ -23,7 +23,7 @@ function setupApp() {
})
window.chatForm = new Vue({
el: "#chat-form",
el: "#chatForm",
data: {
message: {
author: "",//localStorage.author || "Viewer" + (Math.floor(Math.random() * 42) + 1),
@ -103,7 +103,7 @@ function setupWebsocket() { @@ -103,7 +103,7 @@ function setupWebsocket() {
setupApp()
getStatus()
// setupWebsocket()
setupWebsocket()
// setInterval(getStatus, 5000)
// HLS Video setup. Commented out for local html work. Uncomment to make HLS work.

Loading…
Cancel
Save