修改测试域名
This commit is contained in:
@@ -13,7 +13,7 @@ module.exports = {
|
||||
proxyTable: { '/api': {
|
||||
// target: 'https://api.pekolive.com',
|
||||
// target: 'http://120.79.211.243',
|
||||
target: 'https://beta.api.pekolive.com',
|
||||
target: 'http://beta.api.pekolive.com',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
pathRewrite: {
|
||||
|
@@ -5,7 +5,7 @@ let isApp = checkVersion().app
|
||||
if (EnvCheck() === 'test') {
|
||||
// console.log(12542);
|
||||
// baseURL = 'http://120.79.211.243'
|
||||
host = 'https://beta.api.pekolive.com'
|
||||
host = 'http://beta.api.pekolive.com'
|
||||
// 正式环境
|
||||
} else {
|
||||
host = 'https://api.pekolive.com'
|
||||
|
@@ -6,7 +6,7 @@ let baseURL;
|
||||
if (EnvCheck() === 'test') {
|
||||
// console.log('test');
|
||||
// baseURL = 'http://120.79.211.243'
|
||||
baseURL = 'https://beta.api.pekolive.com'
|
||||
baseURL = 'http://beta.api.pekolive.com'
|
||||
// 正式环境
|
||||
} else {
|
||||
baseURL = 'https://api.pekolive.com'
|
||||
|
@@ -864,10 +864,10 @@ export default {
|
||||
});
|
||||
},
|
||||
examine() {
|
||||
// window.location.href = `https://beta.api.pekolive.com/peko/modules/statistic/serial.html?codes=${this.runningWater.roomUidEncode}`;
|
||||
// window.location.href = `http://beta.api.pekolive.com/peko/modules/statistic/serial.html?codes=${this.runningWater.roomUidEncode}`;
|
||||
if (EnvCheck() === "test") {
|
||||
window.location.href =
|
||||
"https://beta.api.pekolive.com/peko/modules/statistic/serial.html?codes=" +
|
||||
"http://beta.api.pekolive.com/peko/modules/statistic/serial.html?codes=" +
|
||||
this.runningWater.roomUidEncode;
|
||||
return;
|
||||
}
|
||||
@@ -879,7 +879,7 @@ export default {
|
||||
examineSingleBroadcast() {
|
||||
if (EnvCheck() === "test") {
|
||||
window.location.href =
|
||||
"https://beta.api.pekolive.com/peko/modules/statistic/serialsingleBroadcast.html?codes=" +
|
||||
"http://beta.api.pekolive.com/peko/modules/statistic/serialsingleBroadcast.html?codes=" +
|
||||
this.rw_single_broadcast.roomUidEncode;
|
||||
return;
|
||||
}
|
||||
|
@@ -13,7 +13,7 @@ module.exports = {
|
||||
proxyTable: { '/api': {
|
||||
// target: 'https://api.pekolive.com',
|
||||
// target: 'http://120.79.211.243',
|
||||
target: 'https://beta.api.pekolive.com',
|
||||
target: 'http://beta.api.pekolive.com',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
pathRewrite: {
|
||||
|
@@ -5,7 +5,7 @@ import { EnvCheck } from '@/utils/browser.js'
|
||||
let baseURL;
|
||||
if (EnvCheck() === 'test') {
|
||||
// baseURL = 'http://120.79.211.243'
|
||||
baseURL = 'https://beta.api.pekolive.com'
|
||||
baseURL = 'http://beta.api.pekolive.com'
|
||||
// 正式环境
|
||||
} else {
|
||||
baseURL = 'https://api.pekolive.com'
|
||||
|
@@ -7,7 +7,7 @@ import { EnvCheck } from "@/utils/browser.js";
|
||||
let baseURL;
|
||||
if (EnvCheck() === "test") {
|
||||
// baseURL = 'http://120.79.211.243'
|
||||
baseURL = "https://beta.api.pekolive.com";
|
||||
baseURL = "http://beta.api.pekolive.com";
|
||||
// 正式环境
|
||||
} else {
|
||||
baseURL = "https://api.pekolive.com";
|
||||
|
Reference in New Issue
Block a user