Browse Source

Merge pull request '调整page返回值' (#242) from KingChan/forgeplus:standalone_develop into standalone_develop

pull/347/head
KingChan 2 years ago
parent
commit
e25f27e488
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      .gitignore
  2. +1
    -1
      app/models/page.rb

+ 1
- 1
.gitignore View File

@@ -10,7 +10,7 @@

# Ignore lock config file
*.log
.env
# mac
*.DS_Store
.bashrc


+ 1
- 1
app/models/page.rb 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


Loading…
Cancel
Save