Adjust CORS
This commit is contained in:
parent
05d0042a60
commit
e35304f030
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue