修改测试域名

This commit is contained in:
Dragon
2023-09-01 15:20:36 +08:00
parent a3de94198c
commit 11d087eff2
38 changed files with 43 additions and 43 deletions

View File

@@ -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: {

View File

@@ -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'

View File

@@ -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'

View File

@@ -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;
}

View File

@@ -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: {

View File

@@ -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'

View File

@@ -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";