mirror of
https://github.com/modrinth/code.git
synced 2026-08-26 09:34:50 +00:00
Modrinth Hosting rebrand (#4846)
* Modrinth Hosting rebranding * fix capitalization issue * fix issues
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
export default defineNuxtRouteMiddleware((to) => {
|
||||
if (to.path.startsWith('/servers')) {
|
||||
const target = to.fullPath.replace('/servers', '/hosting')
|
||||
return navigateTo(target, { redirectCode: 301 })
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user