From 94622fc9b5c4bd34e062278b8c693ee262ddca2e Mon Sep 17 00:00:00 2001 From: jingquan huang Date: Wed, 4 Mar 2020 01:57:47 +0800 Subject: [PATCH] .. --- config/application.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/application.rb b/config/application.rb index 31a94e7ed..723f58766 100644 --- a/config/application.rb +++ b/config/application.rb @@ -38,6 +38,7 @@ module Educoderplus origins '*' # location of your api resource '/*', :headers => :any, :methods => [:get, :post, :delete, :options, :put] + resource 'http://outin-396971199eed11e991a100163e1c7426.oss-cn-shanghai.aliyuncs.com/*', :headers => :any, :methods => [:get, :post, :delete, :options, :put] end end end