diff options
Diffstat (limited to 'src/routes.ts')
-rw-r--r-- | src/routes.ts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/routes.ts b/src/routes.ts new file mode 100644 index 000000000..5987177ef --- /dev/null +++ b/src/routes.ts @@ -0,0 +1,16 @@ +import {Router} from 'lib/routes/router' + +export const router = new Router({ + Home: '/', + Search: '/search', + Notifications: '/notifications', + Settings: '/settings', + Profile: '/profile/:name', + ProfileFollowers: '/profile/:name/followers', + ProfileFollows: '/profile/:name/follows', + PostThread: '/profile/:name/post/:rkey', + PostUpvotedBy: '/profile/:name/post/:rkey/upvoted-by', + PostRepostedBy: '/profile/:name/post/:rkey/reposted-by', + Debug: '/sys/debug', + Log: '/sys/log', +}) |