feat: revalidate my pages breadcrumbs on demand
This commit is contained in:
committed by
Michael Zetterberg
parent
ba13a00b63
commit
0c4aa592cc
@@ -7,6 +7,7 @@ import {
|
||||
overview,
|
||||
profile,
|
||||
profileEdit,
|
||||
stays,
|
||||
} from "./constants/routes/myPages.js"
|
||||
|
||||
const jiti = createJiti(new URL(import.meta.url).pathname)
|
||||
@@ -124,6 +125,12 @@ const nextConfig = {
|
||||
{ source: profileEdit.fi, destination: "/fi/my-pages/profile/edit" },
|
||||
{ source: profileEdit.no, destination: "/no/my-pages/profile/edit" },
|
||||
{ source: profileEdit.sv, destination: "/sv/my-pages/profile/edit" },
|
||||
|
||||
{ source: stays.da, destination: "/da/my-pages/stays" },
|
||||
{ source: stays.de, destination: "/de/my-pages/stays" },
|
||||
{ source: stays.fi, destination: "/fi/my-pages/stays" },
|
||||
{ source: stays.no, destination: "/no/my-pages/stays" },
|
||||
{ source: stays.sv, destination: "/sv/my-pages/stays" },
|
||||
],
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user