Amend API path

This commit is contained in:
2025-07-15 14:53:43 +02:00
parent c942450e86
commit 05f9255ef0

View File

@@ -27,7 +27,7 @@ export default defineConfig({
server: { server: {
proxy: { proxy: {
'/api': { '/api': {
target: 'http://localhost:8080', target: 'http://dex-be:8080',
changeOrigin: true, changeOrigin: true,
secure: true, secure: true,
rewrite: (path) => path.replace(/^\/api/, '') rewrite: (path) => path.replace(/^\/api/, '')