forked from Gitlink/forgeplus
FIX CORS problem for develop
This commit is contained in:
parent
82bd15d4ec
commit
1be0a918a6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue