mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 11:35:42 -04:00
feat: add release category to template
This commit is contained in:
@@ -67,6 +67,7 @@ const FOLDER_WWW = 'www';
|
|||||||
Define > Environment Variables || Defaults
|
Define > Environment Variables || Defaults
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
const envAppRelease = process.env.RELEASE || 'stable';
|
||||||
const envUrlRepo = process.env.URL_REPO || 'https://git.binaryninja.net/binaryninja';
|
const envUrlRepo = process.env.URL_REPO || 'https://git.binaryninja.net/binaryninja';
|
||||||
const envStreamQuality = process.env.STREAM_QUALITY || 'hd';
|
const envStreamQuality = process.env.STREAM_QUALITY || 'hd';
|
||||||
const envFileURL = process.env.FILE_URL || 'urls.txt';
|
const envFileURL = process.env.FILE_URL || 'urls.txt';
|
||||||
@@ -1270,6 +1271,7 @@ const server = http.createServer( ( request, response ) =>
|
|||||||
dateGZP: FILE_GZP_MODIFIED,
|
dateGZP: FILE_GZP_MODIFIED,
|
||||||
|
|
||||||
healthTimer: envHealthTimer,
|
healthTimer: envHealthTimer,
|
||||||
|
appRelease: envAppRelease,
|
||||||
appName: name,
|
appName: name,
|
||||||
appVersion: version,
|
appVersion: version,
|
||||||
appUrlGithub: repository.url,
|
appUrlGithub: repository.url,
|
||||||
|
|||||||
Reference in New Issue
Block a user