Commit fc600b2d authored by Cool Fire's avatar Cool Fire

Add route to pull down tor hidden services

parent 06a9a24f
Pipeline #1428 passed with stage
in 2 minutes and 25 seconds
......@@ -8,4 +8,11 @@ class Manager2Api < Sinatra::Base
result = git_get_full['profile::sshtunnel::destination::tunnels']
erb :result, locals: { message: 'Retreived configured tunnels', result: result }
# List configured TOR hidden services
post '/v1/i2am/torservice/list' do
result = git_get_full['i2am::torservices']
erb :result, locals: { message: 'Retreived TOR services', result: result }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment