Amend CORS

This commit is contained in:
2025-07-15 16:15:10 +02:00
parent edeffa7012
commit 9148bb3463
5 changed files with 55 additions and 18 deletions

View File

@@ -24,16 +24,6 @@ export default defineConfig({
'@': path.resolve(__dirname, './src'),
}
},
server: {
proxy: {
'/api': {
target: 'http://dex-be:8080',
changeOrigin: true,
secure: true,
rewrite: (path) => path.replace(/^\/api/, '')
}
}
},
build: {
// @ts-ignore
assetsInclude: [