Change Domain Name
This commit is contained in:
parent
2ebb0cdb9a
commit
1478a3f10e
|
|
@ -272,9 +272,9 @@ 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 = "https://ruling.digital/git"#"http://gitlab.tp.rulingcom.com/orbit_chiu1/orbit4-5.git"
|
git_url = "https://orbithub.cloud/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://orbitgit.cloud/themes/default-theme.git"
|
||||||
git_extension_url = "http://gitlab.tp.rulingcom.com/core/default-modules.git"
|
git_extension_url = "http://orbitgit.cloud/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
|
||||||
ip = site_server.ip
|
ip = site_server.ip
|
||||||
server_port = site_server.port
|
server_port = site_server.port
|
||||||
|
|
@ -303,9 +303,9 @@ 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 = "https://ruling.digital/git"#"http://gitlab.tp.rulingcom.com/orbit_chiu1/orbit4-5.git"
|
git_url = "https://orbithub.cloud/git"#"http://orbitgit.cloud/orbit_chiu1/orbit4-5.git"
|
||||||
git_template_url = "http://gitlab.tp.rulingcom.com/themes/default-theme.git"
|
git_template_url = "http://orbitgit.cloud/themes/default-theme.git"
|
||||||
git_extension_url = "http://gitlab.tp.rulingcom.com/core/default-modules.git"
|
git_extension_url = "http://orbitgit.cloud/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
|
||||||
ip = site_server.ip
|
ip = site_server.ip
|
||||||
server_port = site_server.port
|
server_port = site_server.port
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue