From af28959e4eb315fdba8585fed310be03739dbcbb Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Mon, 21 Jun 2021 18:08:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=88=E8=B5=84=E5=9F=B9=E8=AE=AD=E5=9B=9E?= =?UTF-8?q?=E8=B0=83=E5=9F=9F=E5=90=8D=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/trainings_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/trainings_controller.rb b/app/controllers/trainings_controller.rb index e5ef1529..f041e958 100644 --- a/app/controllers/trainings_controller.rb +++ b/app/controllers/trainings_controller.rb @@ -6,7 +6,7 @@ class TrainingsController < ApplicationController skip_before_filter :check_if_login_required skip_before_filter :verify_signature, except: [:auth, :auth_callback, :pay_callback] - ROOT_URL = ENV["wechat_url"] || "#{Setting.protocol}://#{Setting.host_name}" + ROOT_URL = ENV["wechat_url"] || "#{Setting.protocol}://engineer.educoder.net" before_filter :authenticate, except: [:auth, :auth_callback, :pay_callback]