This commit is contained in:
BoHung Chiu 2023-05-04 10:00:56 +08:00
parent 4ff7a6e998
commit 33be28d7ad
1 changed files with 2 additions and 2 deletions

View File

@ -272,7 +272,7 @@ class Admin::SitePanelController < OrbitAdminController
site_construct.status = "creating" site_construct.status = "creating"
site_construct.save site_construct.save
check_server_ability(1) check_server_ability(1)
git_url = "http://ruling.digital/git"#"http://gitlab.tp.rulingcom.com/orbit_chiu1/orbit4-5.git" git_url = "https://ruling.digital/git"#"http://gitlab.tp.rulingcom.com/orbit_chiu1/orbit4-5.git"
git_template_url = "http://gitlab.tp.rulingcom.com/themes/default-theme.git" git_template_url = "http://gitlab.tp.rulingcom.com/themes/default-theme.git"
git_extension_url = "http://gitlab.tp.rulingcom.com/core/default-modules.git" git_extension_url = "http://gitlab.tp.rulingcom.com/core/default-modules.git"
site_server = SiteServer.where(:server_name=>site_construct.server_type).first site_server = SiteServer.where(:server_name=>site_construct.server_type).first
@ -303,7 +303,7 @@ class Admin::SitePanelController < OrbitAdminController
def create_site def create_site
site_construct = SiteConstruct.find(params[:id]) site_construct = SiteConstruct.find(params[:id])
site_construct.user_id = current_user.id.to_s site_construct.user_id = current_user.id.to_s
git_url = "http://ruling.digital/git"#"http://gitlab.tp.rulingcom.com/orbit_chiu1/orbit4-5.git" git_url = "https://ruling.digital/git"#"http://gitlab.tp.rulingcom.com/orbit_chiu1/orbit4-5.git"
git_template_url = "http://gitlab.tp.rulingcom.com/themes/default-theme.git" git_template_url = "http://gitlab.tp.rulingcom.com/themes/default-theme.git"
git_extension_url = "http://gitlab.tp.rulingcom.com/core/default-modules.git" git_extension_url = "http://gitlab.tp.rulingcom.com/core/default-modules.git"
site_server = SiteServer.where(:server_name=>site_construct.server_type).first site_server = SiteServer.where(:server_name=>site_construct.server_type).first