From 5fe2eeae76a1d9bc6e0bb69056d8ca4cbe3d2c06 Mon Sep 17 00:00:00 2001 From: jingquan huang Date: Wed, 4 Mar 2020 02:05:20 +0800 Subject: [PATCH 1/2] .. --- config/application.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/config/application.rb b/config/application.rb index 723f58766..31a94e7ed 100644 --- a/config/application.rb +++ b/config/application.rb @@ -38,7 +38,6 @@ 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 From 41484fb5863df657fe659d3a06f5bf1e3a8aaf56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Wed, 4 Mar 2020 11:08:21 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/scripts/build.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/react/scripts/build.js b/public/react/scripts/build.js index ef253aa83..77e2a4599 100644 --- a/public/react/scripts/build.js +++ b/public/react/scripts/build.js @@ -217,9 +217,11 @@ function generateNewIndexJsp() { ` var jsMinAllRegex = / var result = data .replace(jsMinAllRegex, code) + .replace(flvMinAllRegex, code) // .replace('/js/js_min_all.js', `${cdnHost}/react/build/js/js_min_all.js?v=${newVersion}`) // .replace('/js/js_min_all_2.js', `${cdnHost}/react/build/js/js_min_all_2.js?v=${newVersion}`)