Skip to content

Commit

Permalink
Replace hardcoded default route suffix with configurable option
Browse files Browse the repository at this point in the history
Developed by: Social Deal (@socialdeal)

Co-authored-by: Dotwood Media <info@dotwood.media>
  • Loading branch information
Vincentdevreede and DotwoodMedia committed Nov 29, 2024
1 parent 40aec06 commit 7478cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export function localizeRoutes(routes: NuxtPage[], options: LocalizeRoutesParams
) {
localizedRoutes.push({
...localized,
name: `${localized.name}___default`
name: `${localized.name}___${options.defaultLocaleRouteNameSuffix}`
})
}

Expand Down

0 comments on commit 7478cdf

Please sign in to comment.