Added basic auth

This commit is contained in:
2025-05-15 10:15:44 +03:00
parent 2f87f383f1
commit 36226dbbac
5 changed files with 39 additions and 4 deletions
+2
View File
@@ -1,6 +1,8 @@
module.exports = {
name: "CRTelemetry",
port: 80,
username: "admin",
password: "password",
logger: {
level: "info",
error_path: "/app/logs/error.log",
+1 -3
View File
@@ -49,9 +49,7 @@ setEventListeners(download, () => {
});
setEventListeners(logout, () => {
// fetch logout
// check response type
// redirect to auth
window.location.href = `${window.location.protocol}//log:out@${window.location.host}`;
});
for (let i = 1; i < sql_rows.length; i++) {