cors
All checks were successful
build and deploy portfolio / build (push) Successful in 38s
build and deploy portfolio / publish-portfolio (push) Successful in 3s
build and deploy portfolio / publish-docs (push) Successful in 4s

This commit is contained in:
darius 2025-02-25 22:53:45 +01:00
parent ee1be74eba
commit fa038ee041

View File

@ -41,7 +41,7 @@ func main() {
http.MethodPatch, http.MethodPatch,
http.MethodDelete, http.MethodDelete,
}, },
AllowedHeaders: []string{"*"}, AllowedHeaders: []string{"Authorization", "Content-Type", "*"},
AllowCredentials: true, AllowCredentials: true,
}) })