mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
FIX CORS problem for develop
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user