Skip to content

Commit

Permalink
chore: Update main.go to use CORSMiddleware in router
Browse files Browse the repository at this point in the history
  • Loading branch information
nilgaar committed Jul 20, 2024
1 parent 70b79cc commit 14669c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func main() {
const Sha3Regex = `^([0-9a-fA-F]{128})$`
router := gin.Default()
gin.SetMode(gin.ReleaseMode)
//router.Use(CORSMiddleware())
router.Use(CORSMiddleware())

router.Use(gin.Logger())

Expand Down

0 comments on commit 14669c5

Please sign in to comment.