Skip to content

Commit d575325

Browse files
committed
fix: updated gh auth middleware route to /verifier instead of /api
1 parent 09dba26 commit d575325

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fplus-http-server/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ async fn main() -> std::io::Result<()> {
3333
.service(router::health)
3434
.service(router::application::create)
3535
.service(
36-
web::scope("/api")
37-
.wrap(VerifierAuth) // Apply GitHubAuth to all routes under "/api"
36+
web::scope("/verifier")
37+
.wrap(VerifierAuth)
3838
.service(router::application::trigger)
3939
.service(router::application::propose)
4040
.service(router::application::approve)

0 commit comments

Comments
 (0)