diff --git a/frontend/src/config.ts b/frontend/src/config.ts index 505c1cc..789af52 100644 --- a/frontend/src/config.ts +++ b/frontend/src/config.ts @@ -5,7 +5,7 @@ interface Config { } async function loadConfig(): Promise { - const response = await fetch('./config.json') + const response = await fetch(__webpack_public_path__ + 'config.json') const config = await response.json() return config }