Skip to content

Commit

Permalink
routing: Render home page at /
Browse files Browse the repository at this point in the history
  • Loading branch information
goshatch committed Sep 25, 2024
1 parent 178b8da commit 365dc43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/apossiblespace/parts.clj
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
:middleware [middleware/jwt-auth]}]
["/register"
{:post {:handler account/register-account}}]]]
["/home" {:get pages/home-page}]]
["/" {:get pages/home-page}]]
{:data {:middleware [wrap-params
middleware/exception
middleware/logging
Expand All @@ -60,7 +60,7 @@
middleware/wrap-jwt-authentication]}})
(ring/routes
(swagger-ui/create-swagger-ui-handler
{:path "/"
{:path "/swagger-ui"
:config {:validatorUrl nil
:operationsSorter "alpha"}})
(ring/create-default-handler)))))
Expand Down

0 comments on commit 365dc43

Please sign in to comment.