Fix web shell.
authorWard Vandewege <ward@jhvc.com>
Wed, 26 Feb 2020 18:49:28 +0000 (13:49 -0500)
committerWard Vandewege <ward@jhvc.com>
Wed, 26 Feb 2020 18:49:28 +0000 (13:49 -0500)
refs #16203

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@jhvc.com>

apps/workbench/app/controllers/virtual_machines_controller.rb

index 1427e3cc728e3d30d5399223a3c4e311413a9d48..c743773141f672532396e7f73677f602548c41cc 100644 (file)
@@ -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