clean up footer things
This commit is contained in:
@@ -18,6 +18,7 @@ async function setupApp() {
|
||||
summary: "",
|
||||
tags: [],
|
||||
title: "",
|
||||
appVersion: "",
|
||||
|
||||
},
|
||||
watch: {
|
||||
@@ -66,9 +67,9 @@ function setupWebsocket() {
|
||||
|
||||
// Uncomment to point to somewhere other than goth.land
|
||||
const protocol = location.protocol == "https:" ? "wss" : "ws"
|
||||
var ws = new WebSocket(protocol + "://" + location.host + "/entry")
|
||||
// var ws = new WebSocket(protocol + "://" + location.host + "/entry")
|
||||
|
||||
// var ws = new WebSocket("wss://goth.land/entry")
|
||||
var ws = new WebSocket("wss://goth.land/entry")
|
||||
|
||||
ws.onmessage = (e) => {
|
||||
const model = JSON.parse(e.data)
|
||||
|
||||
@@ -1,9 +1,17 @@
|
||||
Vue.component('owncast-footer', {
|
||||
props: {
|
||||
appVersion: {
|
||||
type: String,
|
||||
default: "0.1",
|
||||
},
|
||||
},
|
||||
|
||||
template: `
|
||||
<footer class="flex border-t border-gray-500 border-solid">
|
||||
<footer class="flex">
|
||||
<span>
|
||||
<a href="https://github.com/gabek/owncast" target="_blank">About Owncast</a>
|
||||
</span>
|
||||
</span>
|
||||
<span>Version {{appVersion}}</span>
|
||||
</footer>
|
||||
`,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
const streamURL = '/hls/stream.m3u8';
|
||||
// const streamURL = 'https://goth.land/hls/stream.m3u8'; // Uncomment me to point to remote video
|
||||
// const streamURL = '/hls/stream.m3u8';
|
||||
const streamURL = 'https://goth.land/hls/stream.m3u8'; // Uncomment me to point to remote video
|
||||
|
||||
// style hackings
|
||||
window.VIDEOJS_NO_DYNAMIC_STYLE = true;
|
||||
|
||||
Reference in New Issue
Block a user