set cookies in development mode

This commit is contained in:
MaysWind
2023-06-04 14:25:51 +08:00
parent df46069d92
commit 2e54b62f60
3 changed files with 11 additions and 0 deletions
+4
View File
@@ -126,6 +126,10 @@ export default defineConfig(async () => {
port: 8081,
strictPort: true,
proxy: {
'/dev': {
target: 'http://127.0.0.1:8080/',
changeOrigin: true
},
'/api': {
target: 'http://127.0.0.1:8080/',
changeOrigin: true