update 更换三方回调方案
This commit is contained in:
parent
1f2add4b6b
commit
fe1942c247
@ -65,7 +65,7 @@ const init = async () => {
|
|||||||
let host = window.location.host;
|
let host = window.location.host;
|
||||||
if (domain !== host) {
|
if (domain !== host) {
|
||||||
let urlFull = new URL(window.location.href);
|
let urlFull = new URL(window.location.href);
|
||||||
urlFull.hostname = domain;
|
urlFull.host = domain;
|
||||||
window.location.href = urlFull.toString();
|
window.location.href = urlFull.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user