Skip to content

Commit

Permalink
Bypass Firebase authentication for comfy-node/backill endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
james03160927 committed Jan 2, 2025
1 parent f6010d5 commit c700a59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/middleware/authentication/firebase_auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ func FirebaseAuthMiddleware(entClient *ent.Client) echo.MiddlewareFunc {
regexp.MustCompile(`^/publishers/[^/]+/nodes/[^/]+/ban$`): {"POST"},
regexp.MustCompile(`^/nodes/[^/]+/versions/[^/]+/comfy-nodes$`): {"POST"},
regexp.MustCompile(`^/nodes/[^/]+/versions/[^/]+/comfy-nodes/[^/]+$`): {"GET"},
regexp.MustCompile(`^/comfy-nodes/backfill$`): {"POST"},
}

return func(next echo.HandlerFunc) echo.HandlerFunc {
Expand Down

0 comments on commit c700a59

Please sign in to comment.