update model page url

This commit is contained in:
呱呱呱
2023-12-21 14:13:42 +08:00
parent f3376594f1
commit 3a0a95a18f
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ class Page < ApplicationRecord
def url
@deploy_domain = EduSetting.find_by_name("site_page_deploy_domain").try(:value)
"http://#{user.login}.#{@deploy_domain}/#{identifier}"
"http://#{identifier}"
end
def build_script_path