/*
|
* @Author: vann 984797170@qq.com
|
* @Date: 2023-02-07 11:01:00
|
* @LastEditors: vann 984797170@qq.com
|
* @LastEditTime: 2023-02-16 19:35:45
|
* @FilePath: /pengding/pp-adm-web/config/proConfig.js
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
*/
|
// const config = require("./proxy.js")
|
|
module.exports = {
|
proxy: {
|
"/pp-adm": { //将www.exaple.com印射为/apis
|
target: `http://10.1.1.149`, // 接口域名
|
// target: `http://192.168.34.236:18000`, // 接口域名
|
secure: false, // 如果是https接口,需要配置这个参数
|
changeOrigin: true, //是否跨域
|
// pathRewrite: {
|
// '^/api': '' //需要rewrite的,
|
// }
|
}
|
}
|
}
|