FIX CORS problem for develop

This commit is contained in:
Jasder
2021-01-27 17:22:16 +08:00
committed by victor
parent 9121033a10
commit 9f7c9d6ec7

View File

@@ -42,7 +42,7 @@ module Educoderplus
allow do
origins '*'
# location of your api
resource '/*', :headers => :any, :methods => [:get, :post, :delete, :options, :put]
resource '/*', :headers => :any, :methods => [:get, :post, :delete, :options, :put, :patch]
end
end
end