Skip to content

Commit

Permalink
Hope it won't break anything (#17)
Browse files Browse the repository at this point in the history
Signed-off-by: zubairrafi <[email protected]>
  • Loading branch information
walleeva2018 authored Jul 13, 2024
1 parent 9cfe036 commit 40ff37f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func LoadRoutes() *chi.Mux {
AllowedMethods: []string{"GET", "POST", "PUT", "DELETE", "OPTIONS"},
AllowedHeaders: []string{"Accept", "Authorization", "Content-Type", "X-CSRF-Token"},
ExposedHeaders: []string{"Link"},
AllowCredentials: false,
AllowCredentials: true,
MaxAge: 300, // Maximum value not ignored by any of major browsers
}))
// Apply global middleware
Expand Down

0 comments on commit 40ff37f

Please sign in to comment.