diff --git a/platform-code/src/app.ts b/platform-code/src/app.ts index 39f1ce2..2679dbc 100644 --- a/platform-code/src/app.ts +++ b/platform-code/src/app.ts @@ -239,7 +239,7 @@ export async function getInitialState() { let params = await model.parameters() //console.log("params", params) const host: string = window.location.hostname - if (window.top === window.self) { + if (window.top !== window.self) { window.location.href = 'https://metal.dayesteel.com.cn'; return; }