diff --git a/assets/Script/Manager.ts b/assets/Script/Manager.ts index 90d17c2..2fec9c0 100644 --- a/assets/Script/Manager.ts +++ b/assets/Script/Manager.ts @@ -32,10 +32,9 @@ export default class Manager extends cc.Component { console.log(`not function: ${method}, value: ${value}`); }, false); let href: string = window.location.href; - // window.open(`https://jianmiau.ml:3334/googletest?host=${href}`, "newwindow", "height=100,width=400"); - // this.webview.url = `https://karolchang.github.io/jm-expense-vue-ts/?ignore=${Date.now()}`; - this.webview.url = `http://localhost:8080/jm-expense-vue-ts/?ignore=${Date.now()}&host=${href}`; + this.webview.url = `https://karolchang.github.io/jm-expense-vue-ts/?ignore=${Date.now()}`; + // this.webview.url = `http://localhost:8080/jm-expense-vue-ts/?ignore=${Date.now()}&host=${href}`; this.webview.node.active = true; cc.view.setResizeCallback(this._resize.bind(this));