mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-09 03:26:38 +08:00
Create redirect.js
This commit is contained in:
parent
cffbac4819
commit
6fbd60e62b
5
public/redirect.js
Normal file
5
public/redirect.js
Normal file
@ -0,0 +1,5 @@
|
||||
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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user