Skip to content

Commit

Permalink
Fix IAP
Browse files Browse the repository at this point in the history
  • Loading branch information
danielcampagnolitg committed Sep 10, 2024
1 parent dbf5328 commit 5d915dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fastify/userMiddleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function singleUserMiddleware(req: any, _res, next: () => void): void {

export function googleIapMiddleware(req: any, _res, next: () => void) {
// It would be nicer if the health-check was earlier in the chain. Maybe when nextauthjs integration is done.
if (req.raw.url.startsWith('/webhooks/' || req.raw.url === DEFAULT_HEALTHCHECK)) {
if (req.raw.url.startsWith('/webhooks/') || req.raw.url === DEFAULT_HEALTHCHECK) {
next();
return;
}
Expand Down

0 comments on commit 5d915dc

Please sign in to comment.