feat: 登录页面联调
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import uni from '@dcloudio/vite-plugin-uni'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [uni()],
|
||||
server: {
|
||||
proxy: {
|
||||
'/backend-api': {
|
||||
target: 'http://192.168.2.76:8000',
|
||||
changeOrigin: true,
|
||||
rewrite: path => path.replace(/^\/backend-api/, '/api')
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user