chore(core): 更新主页面
This commit is contained in:
@@ -55,9 +55,12 @@ Loader.init = () => {
|
|||||||
$('#loading').remove();
|
$('#loading').remove();
|
||||||
});
|
});
|
||||||
|
|
||||||
if (goog.isElectron) {
|
if (goog.isElectron || window.location.hostname !== 'go.mixly.cn') {
|
||||||
(function(window, document) {
|
(function(window, document) {
|
||||||
var url = 'https://mixly.org/public/app30.html';
|
var url = 'https://mixly.org/public/app30.html';
|
||||||
|
if (window.location.hostname === 'go.mixly.cn') {
|
||||||
|
url = 'https://mixly.org/public/app31.html';
|
||||||
|
}
|
||||||
function detect() {
|
function detect() {
|
||||||
var iframes = document.getElementsByTagName('iframe');
|
var iframes = document.getElementsByTagName('iframe');
|
||||||
for (var i = 0; i < iframes.length; i++) {
|
for (var i = 0; i < iframes.length; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user