You've already forked AstralRinth
remove april fools redirect
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
const COLLECTION_PREFIX = '/collection/bLYCa4PJ'
|
||||
|
||||
export default defineNuxtRouteMiddleware((to) => {
|
||||
if (to.path === COLLECTION_PREFIX || to.path.startsWith(`${COLLECTION_PREFIX}/`)) {
|
||||
return navigateTo(`https://april-fools-2026.modrinth.com${to.fullPath}`, {
|
||||
external: true,
|
||||
redirectCode: 302,
|
||||
})
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user