This commit is contained in:
Henry Jameson 2026-06-23 20:07:44 +03:00
commit cb20672f0b
2 changed files with 3 additions and 3 deletions

View file

@ -92,7 +92,8 @@ export const useAdminSettingsStore = defineStore('adminSettings', {
this.setInstanceAdminSettings({ this.setInstanceAdminSettings({
credentials: useOAuthStore().token, credentials: useOAuthStore().token,
backendDbConfig, backendDbConfig,
})) }),
)
.catch(({ statusCode, statusText }) => { .catch(({ statusCode, statusText }) => {
if (statusCode === 400) { if (statusCode === 400) {
if (/configurable_from_database/.test(statusText)) { if (/configurable_from_database/.test(statusText)) {

View file

@ -31,8 +31,7 @@ export default defineConfig({
timeout: 120_000, timeout: 120_000,
env: { env: {
...process.env, ...process.env,
PORT: PORT: process.env.PORT || '8099',
process.env.PORT || '8099',
VITE_PROXY_TARGET: VITE_PROXY_TARGET:
process.env.VITE_PROXY_TARGET || 'http://localhost:4000', process.env.VITE_PROXY_TARGET || 'http://localhost:4000',
VITE_PROXY_ORIGIN: VITE_PROXY_ORIGIN: