Fix type of controller.auth_secret

This commit is contained in:
Cooldude2606 committed 2026-03-04 21:02:39 +00:00
1 parent 687a384fe4
commit 014b18caf8
7 files changed
+21 -45

No files matched your search

+1 -1
View File
@@ -536,7 +536,7 @@ export class Config<
this._checkAccess(name, def, this.location, ConfigAccess.write, true);
}
// Empty strings are treat as null
// Empty strings are treated as null
if (value === "") {
value = null;
}
+2 -2
View File
@@ -20,7 +20,7 @@ export interface ControllerConfigFields {
"controller.public_url": string | null;
"controller.tls_certificate": string | null;
"controller.tls_private_key": string | null;
"controller.auth_secret": string;
"controller.auth_secret": string | null;
"controller.heartbeat_interval": number;
"controller.session_timeout": number;
"controller.metrics_timeout": number;
@@ -162,7 +162,7 @@ export class ControllerConfig extends classes.Config<ControllerConfigFields> {
"Do not share this.",
restartRequired: true,
type: "string",
initialValue: "",
optional: true,
},
"controller.heartbeat_interval": {
title: "Heartbeat Interval",