fix error

This commit is contained in:
rulingcom committed 2023-07-01 11:10:36 +08:00
1 parent c841f48477
commit 7ef443aed5
1 file changed
+2 -2
+2 -2
View File
@@ -13,11 +13,11 @@ class Admin::BoxController < OrbitAdminController
end
sleep 3
end
reverse_proxy "unix://#{SocketFile}", path: request.env['ORIGINAL_FULLPATH'] do |config|
reverse_proxy "unix://#{SocketFile}", path: '/' do |config|
end
end
def show
path = request.env['ORIGINAL_FULLPATH']#.gsub(/.*\/admin\/box/, "")
path = request.env['ORIGINAL_FULLPATH'].gsub(/.*\/admin\/box/, "")
puts ['path', path]
reverse_proxy "unix://#{SocketFile}", path: path do |config|
end