feat: 新增体格检查
This commit is contained in:
+2
-1
@@ -2,11 +2,12 @@ import { defineConfig } from 'vite'
|
||||
import uni from '@dcloudio/vite-plugin-uni'
|
||||
|
||||
export default defineConfig({
|
||||
base: './',
|
||||
plugins: [uni()],
|
||||
server: {
|
||||
proxy: {
|
||||
'/backend-api': {
|
||||
target: 'http://127.0.0.1:8000',
|
||||
target: 'http://192.168.2.76:8000',
|
||||
changeOrigin: true,
|
||||
rewrite: path => path.replace(/^\/backend-api/, '/api')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user