Refactored codebase & auth bug fix

This commit is contained in:
2025-05-15 13:33:58 +03:00
parent 36226dbbac
commit eeda1b500d
13 changed files with 424 additions and 347 deletions
+27
View File
@@ -0,0 +1,27 @@
module.exports = {
name: "CRTelemetry",
host: "localhost",
protocol: "http",
port: 80,
username: "admin",
password: "password",
token_ttl: 1800,
logger: {
level: "info",
error_path: "/app/logs/error.log",
full_path: "/app/logs/combined.log"
},
timestamp_format: "HH:mm:ss DD-MM-YYYY",
views_directory: "/app/views",
temp_directory: "/app/temp",
paths: {
css: {
web: "/css",
src: "/src/css"
},
js: {
web: "/javascript",
src: "/src/javascript"
}
}
};