Skip to content

Commit

Permalink
Merge pull request #4 from SkynetLabs/pj/disable-auth
Browse files Browse the repository at this point in the history
fix: Disable Authentication
  • Loading branch information
Peter-Jan Brone authored Dec 9, 2021
2 parents 1324a20 + c258801 commit 472500f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var (
// buildHTTPRoutes registers all HTTP routes and their handlers.
func (api *API) buildHTTPRoutes() {
api.staticRouter.GET("/health", api.healthGET)
api.staticRouter.POST("/block", api.addCORSHeader(api.validateCookie(api.blockPOST)))
api.staticRouter.POST("/block", api.addCORSHeader(api.blockPOST))
}

// addCORSHeader sets the CORS headers.
Expand Down

0 comments on commit 472500f

Please sign in to comment.