lint
This commit is contained in:
parent
0e4222c02b
commit
cb20672f0b
2 changed files with 3 additions and 3 deletions
|
|
@ -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)) {
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue