new build

This commit is contained in:
Raj Nandan Sharma
2023-12-25 22:13:27 +05:30
parent d8d04a79d0
commit b9fe4f069f
94 changed files with 322 additions and 509 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
// Define your constants
const FOLDER = process.env.PUBLIC_KENER_FOLDER;
const ENV = process.env.NODE_ENV;
const MONITOR = "./config/monitors.yaml";
const SITE = "./config/site.yaml";
const FOLDER_MONITOR = FOLDER + "/monitors.json";
@@ -11,4 +12,4 @@ const DEGRADED = "DEGRADED";
const APP_HTML = "./src/app.html";
const API_TIMEOUT = 10 * 1000; // 5 seconds
// Export the constants
export { FOLDER, FOLDER_MONITOR, FOLDER_SITE, MONITOR, UP, DOWN, APP_HTML, SITE, DEGRADED, API_TIMEOUT };
export { FOLDER, FOLDER_MONITOR, FOLDER_SITE, MONITOR, UP, DOWN, APP_HTML, SITE, DEGRADED, API_TIMEOUT, ENV };