fix error

This commit is contained in:
邱博亞 2021-02-19 15:57:30 +08:00
parent ee1cfa66c9
commit 22249814af
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ namespace :create_site do
end
end
end
SiteConstruct.where(:domain_name.in => ['','localhost','127.0.0.1']).destroy
SiteConstruct.where(:domain_name.in => [nil,'','localhost','127.0.0.1']).destroy
@thread.update(:status=>@thread.status.merge({"status"=>"finish"}))
rescue => e
puts [e,e.backtrace]