Skip to content

Commit

Permalink
feat: Allow delete operations (#17)
Browse files Browse the repository at this point in the history
Signed-off-by: Thor Anker Kvisgård Lange <tal@netic.dk>
  • Loading branch information
langecode authored Dec 12, 2023
1 parent 3d9a046 commit 33b7c8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func RegisterAuthEndpoint(e *echo.Echo, hashKey, blockKey []byte, providers map[

g := e.Group("/auths", middleware.CORSWithConfig(middleware.CORSConfig{
AllowOrigins: origins,
AllowMethods: []string{http.MethodPut, http.MethodPost},
AllowMethods: []string{http.MethodPut, http.MethodPost, http.MethodDelete},
AllowCredentials: true,
}))

Expand Down

0 comments on commit 33b7c8a

Please sign in to comment.