From d72f333ef4e93bbab8cf0e5852df4d49d5e607b5 Mon Sep 17 00:00:00 2001 From: xxq250 Date: Fri, 9 May 2025 18:59:46 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20=E6=98=A0=E5=B0=84=E8=80=81=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=9B=BE=E7=89=87=E8=B7=AF=E7=94=B1host=5Fmain=5Fsite?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/attachments_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/attachments_controller.rb b/app/controllers/attachments_controller.rb index e94580951..28cce6e1d 100644 --- a/app/controllers/attachments_controller.rb +++ b/app/controllers/attachments_controller.rb @@ -29,7 +29,7 @@ class AttachmentsController < ApplicationController end def old_url - redirect_to "#{EduSetting.get("main_web_site_url")}/attachments/send_file/#{params[:id]}" + redirect_to "#{EduSetting.get("host_main_site")}/attachments/send_file/#{params[:id]}" end