aboutsummaryrefslogtreecommitdiff
path: root/src/pages/urls.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/urls.ts')
-rw-r--r--src/pages/urls.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/urls.ts b/src/pages/urls.ts
index 3a05f39..e10edac 100644
--- a/src/pages/urls.ts
+++ b/src/pages/urls.ts
@@ -2,7 +2,7 @@ export default {
home: '/',
login: '/login',
registration: '/registration',
- profile: '/profile',
+ profile: (username: string = '') => `/profile/${username.toLowerCase()}`,
feed: '/feed',
notifications: '/notifications'
};