fix: rewrite eng myPages and rename urls for my pages urls
This commit is contained in:
@@ -51,11 +51,11 @@ export const profileEdit = {
|
||||
/** @type {import('@/types/routes').LangRoute} */
|
||||
export const points = {
|
||||
da: `${myPages.da}/points`,
|
||||
de: `${myPages.de}/points`,
|
||||
de: `${myPages.de}/punkte`,
|
||||
en: `${myPages.en}/points`,
|
||||
fi: `${myPages.fi}/points`,
|
||||
no: `${myPages.no}/points`,
|
||||
sv: `${myPages.sv}/points`,
|
||||
fi: `${myPages.fi}/pisteet`,
|
||||
no: `${myPages.no}/poeng`,
|
||||
sv: `${myPages.sv}/poang`,
|
||||
}
|
||||
|
||||
/** @type {import('@/types/routes').LangRoute} */
|
||||
|
||||
@@ -60,7 +60,10 @@ const nextConfig = {
|
||||
{ source: login.fi, destination: "/fi/login" },
|
||||
{ source: login.no, destination: "/no/login" },
|
||||
{ source: login.sv, destination: "/sv/login" },
|
||||
|
||||
{
|
||||
source: `${myPages.en}/:path*`,
|
||||
destination: `/en/my-pages/:path*`,
|
||||
},
|
||||
{
|
||||
source: `${myPages.da}/:path*`,
|
||||
destination: `/da/my-pages/:path*`,
|
||||
|
||||
Reference in New Issue
Block a user