完善uniapp
This commit is contained in:
@@ -28,7 +28,7 @@ export default defineConfig({
|
||||
},
|
||||
server: {
|
||||
host: "127.0.0.1",
|
||||
port: 5000,
|
||||
port: 4000,
|
||||
// 开发时前端在 5000,接口走相对路径 /platform/*、/backend/*,转发到本地 Go(当前 httpport=8081)
|
||||
proxy: {
|
||||
"/platform": {
|
||||
|
||||
Reference in New Issue
Block a user