diff options
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/tubo/routes.cljc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/shared/tubo/routes.cljc b/src/shared/tubo/routes.cljc new file mode 100644 index 0000000..f67c547 --- /dev/null +++ b/src/shared/tubo/routes.cljc @@ -0,0 +1,30 @@ +(ns tubo.routes) + +(def routes + [["/" :web/homepage] + ["/search" :web/search] + ["/stream" :web/stream] + ["/channel" :web/channel] + ["/playlist" :web/playlist] + ["/kiosk" :web/kiosk] + ["/settings" :web/settings] + ["/bookmark" :web/bookmark] + ["/bookmarks" :web/bookmarks] + ["/swagger.json" :api/swagger-spec] + ["/api-docs/*" :api/swagger-ui] + ["/api/v1" + ["/services" + ["" :api/services] + ["/:service-id/search" :api/search] + ["/:service-id" + ["/default-kiosk" :api/default-kiosk] + ["/kiosks" + ["" :api/all-kiosks] + ["/:kiosk-id" :api/kiosk]]]] + ["/streams/:url" :api/stream] + ["/channels" + ["/:url" + ["" :api/channel] + ["/tabs/:tab-id" :api/channel-tab]]] + ["/playlists/:url" :api/playlist] + ["/comments/:url" :api/comments]]]) |