feat: add dashboard token auth for android clients
This commit is contained in:
@@ -274,6 +274,7 @@ export function loadConfig(): AppConfig {
|
||||
readNonEmptyText('WEB_DASHBOARD_STATIC_DIR') ??
|
||||
path.join(projectRoot, 'apps', 'dashboard', 'dist'),
|
||||
),
|
||||
token: readNonEmptyText('WEB_DASHBOARD_TOKEN') ?? '',
|
||||
},
|
||||
codexWarmup: {
|
||||
enabled: readBoolean('CODEX_WARMUP_ENABLED', false),
|
||||
|
||||
@@ -83,6 +83,7 @@ export interface AppConfig {
|
||||
host: string;
|
||||
port: number;
|
||||
staticDir: string;
|
||||
token: string;
|
||||
};
|
||||
codexWarmup: {
|
||||
enabled: boolean;
|
||||
|
||||
Reference in New Issue
Block a user