fixed 映射老版本图片路由host_main_site

This commit is contained in:
xxq250 2025-05-09 18:59:46 +08:00
parent 228be1ca59
commit d72f333ef4
1 changed files with 1 additions and 1 deletions

View File

@ -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