23 lines
757 B
JavaScript
23 lines
757 B
JavaScript
/**
|
|
* Restreamer UI - Runtime Configuration
|
|
*
|
|
* This file is loaded BEFORE the React app and can be modified
|
|
* without rebuilding the application.
|
|
*
|
|
* In Docker, mount this file or generate it via entrypoint script.
|
|
*
|
|
* CORE_ADDRESS: Restreamer Core URL. Leave empty to auto-detect from window.location.
|
|
* YTDLP_URL: yt-dlp stream extractor service URL (used to extract stream_url from YouTube).
|
|
* In development this is proxied via /yt-stream by setupProxy.js.
|
|
* In production set it to the actual service URL.
|
|
*
|
|
* Examples:
|
|
* CORE_ADDRESS = 'https://restreamer.nextream.sytes.net'
|
|
* YTDLP_URL = 'http://192.168.1.20:8282'
|
|
*/
|
|
window.__RESTREAMER_CONFIG__ = {
|
|
CORE_ADDRESS: '',
|
|
YTDLP_URL: '',
|
|
};
|
|
|