更换接口
This commit is contained in:
@@ -88,10 +88,10 @@ export default defineConfig(({ mode }) => {
|
||||
overlay: true,
|
||||
},
|
||||
proxy: {
|
||||
"/api": {
|
||||
"/aida": {
|
||||
// target: 'https://develop.api.aida.com.hk',
|
||||
target: baseURL,
|
||||
rewrite: (path) => path.replace(/^\/api/, "/aida/api"),
|
||||
rewrite: (path) => path.replace(/^\/aida/, "/aida"),
|
||||
changeOrigin: true,
|
||||
},
|
||||
"/seller": {
|
||||
|
||||
Reference in New Issue
Block a user