Commit ec16fcdd authored by 18224442217's avatar 18224442217

no message

parent e100ec8b
......@@ -13,13 +13,15 @@ export default {
Vue.prototype.domainManager = function() {
//CRM API
let domainUrl = "";
domainUrl = "http://192.168.10.46:8500";
// domainUrl = "http://192.168.10.46:8500";
domainUrl = "http://crm.oytour.com";
// domainUrl = "http://192.168.10.36:8098";
//domainUrl = "http://localhost:5003";
let locationName = window.location.hostname;
//旅游ERPApi
let domainPostUrl = ""
domainPostUrl = "http://192.168.10.36:8083";
// domainPostUrl = "http://192.168.10.36:8083";
domainPostUrl = "http://reborn.oytour.com"
//domainPostUrl = "http://192.168.10.46";
if (this.isOnline()) {
if (window.location.host.indexOf('fcrmyx.oytour.com') != -1) {
......
......@@ -8,8 +8,19 @@ module.exports = {
}
},
devServer: {
host: 'localhost',
port: 8080,
// host: 'localhost',
// port: 8080,
proxy: {
'/api': {
target: 'https://fcrmyx.oytour.com/', //接口域名
changeOrigin: true, //是否跨域
ws: true, //是否代理 websockets
secure: true, //是否https接口
pathRewrite: { //路径重置
'^/api': ''
}
}
}
},
externals: [
'BMap',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment