Skip to content

Commit

Permalink
Refactor routeMap.ts to remove trailing slashes in dashboard URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
Adammatthiesen committed Dec 23, 2024
1 parent d8ce8fd commit 4f61fe2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/studiocms_core/src/lib/routeMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ export const StudioCMSRoutes = {
mainLinks: {
baseSiteURL: makeNonDashboardRoute(),
dashboardIndex: makeDashboardRoute(),
userProfile: makeDashboardRoute('profile/'),
contentManagement: makeDashboardRoute('content-management/'),
createPage: makeDashboardRoute('create-page/'),
siteConfiguration: makeDashboardRoute('configuration/'),
userManagement: makeDashboardRoute('user-management/'),
userProfile: makeDashboardRoute('profile'),
contentManagement: makeDashboardRoute('content-management'),
createPage: makeDashboardRoute('create-page'),
siteConfiguration: makeDashboardRoute('configuration'),
userManagement: makeDashboardRoute('user-management'),
},
authLinks: {
loginURL: makeDashboardRoute('login'),
Expand Down

0 comments on commit 4f61fe2

Please sign in to comment.