feat: add dashboard token auth for android clients

This commit is contained in:
ejclaw
2026-05-25 03:27:49 +09:00
parent 8ef0f5630a
commit fe106645f9
8 changed files with 242 additions and 25 deletions

View File

@@ -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),

View File

@@ -83,6 +83,7 @@ export interface AppConfig {
host: string;
port: number;
staticDir: string;
token: string;
};
codexWarmup: {
enabled: boolean;