fix: skip Tauri updater in Electron, add debug logging for routing

This commit is contained in:
2026-02-21 19:54:00 +11:00
parent 00ff6a6b72
commit 6a31ea64ed
4 changed files with 34 additions and 2 deletions

View File

@@ -5,8 +5,11 @@ import { trimTrailingSlash } from '../utils/common';
const getClientConfig = async (): Promise<ClientConfig> => {
const url = `${trimTrailingSlash(import.meta.env.BASE_URL)}/config.json`;
console.log('[Config] Loading config from:', url);
const config = await fetch(url, { method: 'GET' });
return config.json();
const json = await config.json();
console.log('[Config] Loaded config:', json);
return json;
};
type ClientConfigLoaderProps = {