mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-09 03:26:38 +08:00
Update redirect.js
This commit is contained in:
parent
22e1364bed
commit
221728ebd6
@ -1,5 +1,13 @@
|
||||
if (window.location.hostname === "adexgpt.adexpartners.com") {
|
||||
var currentPath = window.location.pathname + window.location.search + window.location.hash;
|
||||
var newUrl = "https://adexgpt.vercel.app" + currentPath;
|
||||
window.location.href = newUrl;
|
||||
}
|
||||
|
||||
/*
|
||||
if (window.location.hostname === "adexgpt.vercel.app") {
|
||||
var currentPath = window.location.pathname + window.location.search + window.location.hash;
|
||||
var newUrl = "https://adexgpt.adexpartners.com" + currentPath;
|
||||
// window.location.href = newUrl;
|
||||
window.location.href = newUrl;
|
||||
}
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user