on master help sign in
Quick cord bug fix
commit1d4b0c7e1c735502fbe69fb301f6bf24e72897da authoriko <ilyakooo0@gmail.com> dateMon 13 May 2019, 19:50 (7 years ago) parent768c24e
1 file changed+1−1
denis/src/Server/Server.hs+1−1
denis/src/Server/Server.hs+1−1
@@ -73,7 +73,7 @@ runServer = do
7373policy :: CorsResourcePolicy
7474policy = CorsResourcePolicy {
7575 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,
76− corsMethods=[methodGet, methodPost],
76+ corsMethods=[methodGet, methodPost, methodDelete],
7777 corsRequestHeaders = ["content-type"],
7878 corsExposedHeaders = Nothing,
7979 corsMaxAge = Nothing,