From 9a88a47f4e7a5c8ba4603ebf2035175766cb5465 Mon Sep 17 00:00:00 2001 From: Jasder <2053003901@@qq.com> Date: Thu, 24 Oct 2019 17:26:24 +0800 Subject: [PATCH] =?UTF-8?q?FIX=20http=20=E8=B7=A8=E5=9F=9F=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/application.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/application.rb b/config/application.rb index 88c6a43df..ce764078a 100644 --- a/config/application.rb +++ b/config/application.rb @@ -18,7 +18,7 @@ module RedmineApp # -- all .rb files in that directory are automatically loaded. #verifier if email is real - + config.generators do |g| g.test_framework :rspec, @@ -80,7 +80,7 @@ module RedmineApp allow do origins '*' # location of your API - resource '/api/*', :headers => :any, :methods => [:get, :post, :options, :put] + resource '*', :headers => :any, :methods => [:get, :post, :options, :put] end end