X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d6c4fc82452b6c8e7fe492a0e2a163a19477f95a..3c73e2337ed73cd44e9bcc2d38a4dd742637ad19:/apps/workbench/app/controllers/virtual_machines_controller.rb diff --git a/apps/workbench/app/controllers/virtual_machines_controller.rb b/apps/workbench/app/controllers/virtual_machines_controller.rb index 1427e3cc72..c743773141 100644 --- a/apps/workbench/app/controllers/virtual_machines_controller.rb +++ b/apps/workbench/app/controllers/virtual_machines_controller.rb @@ -25,8 +25,8 @@ class VirtualMachinesController < ApplicationController end def webshell - return render_not_found if Rails.configuration.Workbench.ShellInABoxURL == URI("") - webshell_url = URI(Rails.configuration.Workbench.ShellInABoxURL) + return render_not_found if Rails.configuration.Services.WebShell.ExternalURL == URI("") + webshell_url = URI(Rails.configuration.Services.WebShell.ExternalURL) if webshell_url.host.index("*") != nil webshell_url.host = webshell_url.host.sub("*", @object.hostname) else