feat(WEB-132): add middlewares, support for seamless login and improve lang based routes

This commit is contained in:
Michael Zetterberg
2024-04-08 16:08:35 +02:00
parent 8ab5325fc3
commit 7093a0b2dd
31 changed files with 493 additions and 188 deletions

View File

@@ -0,0 +1,11 @@
import { myPages, profile } from "./myPages"
/**
* These are routes in code we know requires auth
*
* Some of these are rewritten in next.config.js
*/
export const authRequired = [
...Object.values(myPages),
...Object.values(profile),
]