fix(config)!: validate and derive config, drop the unread keys (#2482)

This commit is contained in:
Hampus Kraft committed 2026-09-06 15:02:20 +02:00
1 parent ea93ef5352
commit 5bcaa7cfac
46 files changed
+1310 -199

No files matched your search

+1 -2
View File
@@ -77,7 +77,6 @@ export interface MasterConfig {
downloads: string;
reports: string;
harvests: string;
static: string;
};
};
s3_downloads?: {
@@ -146,6 +145,7 @@ export interface MasterConfig {
mode: string;
upload_relay: {
endpoint: string;
secret_base64: string;
max_body_bytes: number;
token_ttl_secs: number;
keep_direct_countries: Array<string>;
@@ -156,7 +156,6 @@ export interface MasterConfig {
rpc_auth_token?: string;
media_proxy_endpoint?: string;
api_rpc_endpoint?: string;
push_enabled: boolean;
};
admin: {
port: number;