fix(config): resolve remote hierarchy in memory for every profile

This commit is contained in:
2026-09-05 21:21:24 +08:00
parent 62328b6fd6
commit 053302c5df
27 changed files with 286 additions and 143 deletions
@@ -14,7 +14,7 @@ class MapStorage implements LocalStoragePort {
function resolve(search = '?profile=local') {
return resolveLocalStartup({ mode: 'debug', hostKind: 'h5', win: {}, search,
fetcher: { async fetch(): Promise<never> { throw new Error('forbidden fetch'); } } });
fetcher: { async fetch() { return { player_server_tcp: 'remote.example:3088' }; } } });
}
function sourcesFor(context: Awaited<ReturnType<typeof resolve>>, storage: LocalStoragePort,