feat: add release category to template

This commit is contained in:
2025-04-10 02:22:38 -07:00
parent b3aae7b837
commit 4b45c0a2a2

View File

@@ -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,