diff --git a/public/redirect.js b/public/redirect.js new file mode 100644 index 000000000..4df3baba1 --- /dev/null +++ b/public/redirect.js @@ -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; +}