on master help sign in
Cord again
9372e37iko
denis/src/Server/Server.hs+1−1
@@ -62,7 +62,7 @@ runServer = do
62
62
63policy :: CorsResourcePolicy
63policy :: CorsResourcePolicy
64policy = CorsResourcePolicy {
64policy = CorsResourcePolicy {
65− corsOrigins = Just (["http://localhost:8080", "http://localhost:4000", "http://127.0.0.1:4000", "http://127.0.0.1:8080", "http://lvh.me:4000", "http://lvh.me:8080", "http://valera-kristina.herokuapp.com/", "https://valera-kristina.herokuapp.com/"], True), -- Nothing,
65+ corsOrigins = Just (["http://localhost:8080", "http://localhost:4000", "http://127.0.0.1:4000", "http://127.0.0.1:8080", "http://lvh.me:4000", "http://lvh.me:8080", "http://valera-kristina.herokuapp.com", "https://valera-kristina.herokuapp.com"], True), -- Nothing,
66 corsMethods=[methodGet, methodPost],
66 corsMethods=[methodGet, methodPost],
67 corsRequestHeaders = ["content-type"],
67 corsRequestHeaders = ["content-type"],
68 corsExposedHeaders = Nothing,
68 corsExposedHeaders = Nothing,