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