mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 09:04:55 +00:00
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