Amend CORS
This commit is contained in:
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user