Browse Source

target

厅长信箱
laishajiang 2 years ago
parent
commit
9480f45df3
  1. 2
      vite.config.js

2
vite.config.js

@ -49,7 +49,7 @@ export default defineConfig({
'/api': {
// https://mailbox.biutag.com/api
// http://127.0.0.1:8080
target: 'https://mailbox.biutag.com/api',
target: 'http://127.0.0.1:8080',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/api/, '')
}

Loading…
Cancel
Save