Browse Source

FIX CORS problem for develop

tags/v3.0.1
Jasder 5 years ago
parent
commit
a93baa908f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      config/application.rb

+ 1
- 1
config/application.rb 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


Loading…
Cancel
Save