Skip to content

Commit

Permalink
Merge branch 'main' into production
Browse files Browse the repository at this point in the history
  • Loading branch information
akshayg1996 committed Apr 19, 2022
2 parents cd49f0e + 100a15d commit e12d3e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ func main() {
// App object creation
app := fiber.New()

app.Use(cors.New())
app.Use(cors.New(cors.Config{
AllowCredentials: true,
}))

// Add "/" route
routes.Greeting(app)
Expand Down

0 comments on commit e12d3e3

Please sign in to comment.