mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-08 19:16:37 +08:00
Update layout.tsx
This commit is contained in:
parent
76ab2451d4
commit
cffbac4819
@ -34,13 +34,6 @@ export default function RootLayout({
|
||||
<meta name="config" content={JSON.stringify(getClientConfig())} />
|
||||
<link rel="manifest" href="/site.webmanifest"></link>
|
||||
<script src="/serviceWorkerRegister.js" defer></script>
|
||||
<script>
|
||||
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;
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>{children}</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user