revert : restore original nuxt.config.ts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-09 23:45:19 +01:00
parent 8c56ee6dd7
commit 91da21d16b

View File

@@ -17,30 +17,10 @@ export default defineNuxtConfig({
], ],
runtimeConfig: { runtimeConfig: {
public: { public: {
apiBase: process.env.NUXT_PUBLIC_API_BASE || '/api' apiBase: process.env.NUXT_PUBLIC_API_BASE
} }
}, },
devServer: { devServer: {port: 3002},
port: 3002,
},
nitro: {
devProxy: {
'/api': {
target: 'http://nginx',
changeOrigin: true,
},
},
},
vite: {
server: {
proxy: {
'/api': {
target: 'http://nginx',
changeOrigin: true,
},
},
},
},
toast: { toast: {
settings: { settings: {
timeout: 2000, timeout: 2000,