This commit is contained in:
proddy
2024-04-07 15:50:19 +02:00
parent 85c8b663b1
commit bfbc77c92e
15 changed files with 293 additions and 3127 deletions

View File

@@ -13,7 +13,6 @@ export default defineConfig(({ command, mode }) => {
open: true,
port: mode == 'production' ? 4173 : 3000,
proxy: {
'/rest': 'http://localhost:3080',
'/api': {
target: 'http://localhost:3080',
changeOrigin: true,
@@ -23,7 +22,9 @@ export default defineConfig(({ command, mode }) => {
target: 'http://localhost:3081',
changeOrigin: true,
secure: false
}
},
'/rest/uploadFile': 'http://localhost:3082', // this must come first to work!
'/rest': 'http://localhost:3080'
}
}
};