Fix bug.
This commit is contained in:
parent
c80e6ecd92
commit
2159c6d98a
|
@ -197,7 +197,7 @@ class Admin::SitePanelController < OrbitAdminController
|
||||||
def install_certbot
|
def install_certbot
|
||||||
extra_text = ""
|
extra_text = ""
|
||||||
if params[:server_name].present?
|
if params[:server_name].present?
|
||||||
extra_text = "[#{params[:server_name].gsub(/[\(\)\[\]]/){|ff| "\\"+ff }}]"
|
extra_text = "['#{params[:server_name].gsub(/[\(\)\[\]]/){|ff| "\\"+ff }}']"
|
||||||
end
|
end
|
||||||
Thread.new do
|
Thread.new do
|
||||||
system("bundle exec rake create_site:install_certbot#{extra_text}")
|
system("bundle exec rake create_site:install_certbot#{extra_text}")
|
||||||
|
|
Loading…
Reference in New Issue