From e35304f030931f6bf3eee5d7ccc0109c77378e53 Mon Sep 17 00:00:00 2001 From: Rene Vergara Date: Fri, 16 Jun 2023 14:00:22 -0500 Subject: [PATCH] Adjust CORS --- src/ZGoBackend.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ZGoBackend.hs b/src/ZGoBackend.hs index 4f8b38a..5e82036 100644 --- a/src/ZGoBackend.hs +++ b/src/ZGoBackend.hs @@ -591,7 +591,7 @@ routes pipe config = do simpleCorsResourcePolicy { corsRequestHeaders = ["Authorization", "Content-Type"] , corsMethods = "DELETE" : simpleMethods - --, corsOrigins = Nothing + , corsOrigins = Nothing } middleware $ basicAuth