diff --git a/app/controllers/main_controller.rb b/app/controllers/main_controller.rb index 3fc353bdd..1ca65afa3 100644 --- a/app/controllers/main_controller.rb +++ b/app/controllers/main_controller.rb @@ -10,7 +10,7 @@ class MainController < ApplicationController shixun = Shixun.find(3575) shixun_tomcat = edu_setting('cloud_bridge') uri = "#{shixun_tomcat}/bridge/jupyter/get" - params = {tpiID: "tpm_#{shixun.id}", :containers => "#{Base64.urlsafe_encode64(shixun_container_limit(shixun))}"} + params = {tpiID: "tpm#{shixun.id}", :containers => "#{Base64.urlsafe_encode64(shixun_container_limit(shixun))}"} logger.info "test_juypter: uri->#{uri}, params->#{params}"