上传文件至 /
This commit is contained in:
16
vue.config.js
Normal file
16
vue.config.js
Normal file
@ -0,0 +1,16 @@
|
||||
const { defineConfig } = require("@vue/cli-service");
|
||||
module.exports = defineConfig({
|
||||
transpileDependencies: true,
|
||||
devServer: {
|
||||
host: "192.168.1.192",
|
||||
port: 8089,
|
||||
proxy: {
|
||||
"/api": {
|
||||
target: "http://192.168.1.192:8081",
|
||||
changeOrigin: true,
|
||||
pathRewrite: { "^/api": "/api" },
|
||||
logLevel: "debug",
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
Reference in New Issue
Block a user