From bc723b1dad1f9e2a00b92efa0ee1964be1af8663 Mon Sep 17 00:00:00 2001 From: rulingcom Date: Sat, 1 Jul 2023 10:31:00 +0800 Subject: [PATCH] remove debug --- app/controllers/admin/box_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/box_controller.rb b/app/controllers/admin/box_controller.rb index 99b4a30..4f913fe 100644 --- a/app/controllers/admin/box_controller.rb +++ b/app/controllers/admin/box_controller.rb @@ -9,7 +9,7 @@ class Admin::BoxController < OrbitAdminController is_not_open = `fuser #{SocketFile}`.gsub(/\n/, '').empty? if !File.exists?(SocketFile) || `ss -elx | grep -w "$(stat -c 'ino:%i dev:0/%d' '#{SocketFile}')"`.blank? Thread.new do - `#{Binary} --unixdomain-only #{SocketFile}:$USER:$USER:0666 --disable-ssl --debug --css #{CSSFile}` + `#{Binary} --unixdomain-only #{SocketFile}:$USER:$USER:0666 --disable-ssl --css #{CSSFile}` end sleep 3 end