We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6126860 commit 1bdd29aCopy full SHA for 1bdd29a
1 file changed
middleware/mammoth-redirect.global.ts
@@ -2,7 +2,7 @@ export default defineNuxtRouteMiddleware(() => {
2
if (import.meta.client) return
3
4
const host = useRequestHeaders(["host"])?.host
5
- if (host === "mammoth.celenium.io/") {
+ if (host?.includes("mammoth.celenium.io")) {
6
return navigateTo("https://celenium.io/", { redirectCode: 301 })
7
}
8
})
0 commit comments