This commit is contained in:
divyam234 2023-09-23 17:41:11 +05:30
parent 9ba9ed4dfc
commit 6008f98ea1
2 changed files with 2 additions and 2 deletions

View file

@ -37,7 +37,7 @@ func main() {
router.Use(cors.New(cors.Config{
AllowMethods: []string{"GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"},
AllowHeaders: []string{"Authorization", "Content-Length", "Content-Type", "If-Modified-Since"},
AllowHeaders: []string{"Authorization", "Content-Length", "Content-Type"},
AllowCredentials: true,
AllowOriginFunc: func(origin string) bool {
return true

@ -1 +1 @@
Subproject commit 616d633fd8db4173d80552bc347e6a017e0a7005
Subproject commit b4419da2736aa0ddcb9714dfcdd32c2642e717e1