FIX CORS problem for develop

This commit is contained in:
Jasder 2021-01-27 17:22:16 +08:00
parent 82bd15d4ec
commit 1be0a918a6
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ module Educoderplus
allow do allow do
origins '*' origins '*'
# location of your api # 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 end
end end