Merge branch 'master' into 0809gw-messagemodule
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
|
||||
export const LOCAL_TEST = window.location.href.indexOf('localhost:') >= 0;
|
||||
export const URL_PREFIX = LOCAL_TEST ? 'http://localhost:8080' : '';
|
||||
const URL_STATUS = `/status`;
|
||||
const URL_CHAT_HISTORY = `/chat`;
|
||||
// TODO: This directory is customizable in the config. So we should expose this via the config API.
|
||||
const URL_STREAM = `/hls/stream.m3u8`;
|
||||
const URL_WEBSOCKET = `${location.protocol === 'https:' ? 'wss' : 'ws'}://${location.host}/entry`;
|
||||
|
||||
export const POSTER_DEFAULT = `${URL_PREFIX}/img/logo.png`;
|
||||
export const POSTER_THUMB = `${URL_PREFIX}/thumbnail.jpg`;
|
||||
const POSTER_DEFAULT = `/img/logo.png`;
|
||||
const POSTER_THUMB = `/thumbnail.jpg`;
|
||||
|
||||
export const URL_OWNCAST = 'https://github.com/gabek/owncast'; // used in footer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user