Skip to content

Commit

Permalink
keep auth on /api
Browse files Browse the repository at this point in the history
  • Loading branch information
jondot committed Oct 23, 2024
1 parent 22fe027 commit 7e06da7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starters/saas/src/controllers/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ async fn current(auth: auth::JWT, State(ctx): State<AppContext>) -> Result<Respo

pub fn routes() -> Routes {
Routes::new()
.prefix("/auth")
.prefix("/api/auth")
.add("/register", post(register))
.add("/verify", post(verify))
.add("/login", post(login))
Expand Down

0 comments on commit 7e06da7

Please sign in to comment.