Skip to content

Commit 1bdd29a

Browse files
committed
Fix mammoth redirect
1 parent 6126860 commit 1bdd29a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

middleware/mammoth-redirect.global.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export default defineNuxtRouteMiddleware(() => {
22
if (import.meta.client) return
33

44
const host = useRequestHeaders(["host"])?.host
5-
if (host === "mammoth.celenium.io/") {
5+
if (host?.includes("mammoth.celenium.io")) {
66
return navigateTo("https://celenium.io/", { redirectCode: 301 })
77
}
88
})

0 commit comments

Comments
 (0)