Adjust CORS

This commit is contained in:
Rene Vergara 2023-06-16 14:00:22 -05:00
parent 05d0042a60
commit e35304f030
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -591,7 +591,7 @@ routes pipe config = do
simpleCorsResourcePolicy simpleCorsResourcePolicy
{ corsRequestHeaders = ["Authorization", "Content-Type"] { corsRequestHeaders = ["Authorization", "Content-Type"]
, corsMethods = "DELETE" : simpleMethods , corsMethods = "DELETE" : simpleMethods
--, corsOrigins = Nothing , corsOrigins = Nothing
} }
middleware $ middleware $
basicAuth basicAuth