Open dromzeh opened 1 year ago
Migrate old redirects from +hooks.server.ts: https://nextjs.org/docs/app/building-your-application/routing/middleware.
+hooks.server.ts
Should also find a way to rewrite old rules i.e /genshin-impact/character-sheets => /search?game=genshin-impact&asset=character-sheets
/genshin-impact/character-sheets
/search?game=genshin-impact&asset=character-sheets
Migrate old redirects from
+hooks.server.ts
: https://nextjs.org/docs/app/building-your-application/routing/middleware.Should also find a way to rewrite old rules i.e
/genshin-impact/character-sheets
=>/search?game=genshin-impact&asset=character-sheets