diff --git a/front/src/store/instance.ts b/front/src/store/instance.ts index f5227956b..87fe142a8 100644 --- a/front/src/store/instance.ts +++ b/front/src/store/instance.ts @@ -188,7 +188,11 @@ const store: Module = { if (!response) return for (const [key, value] of Object.entries(response.data as FrontendSettings)) { - if (key === 'defaultServerUrl' && !value) continue + if (key === 'defaultServerUrl' && !value) { + state.frontSettings.defaultServerUrl = instanceUrl + continue + } + state.frontSettings[key as keyof FrontendSettings] = value } }