Browse Source

fix

pull/313/head
yystopf 4 years ago
parent
commit
4dccdfde97
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/traces/projects_controller.rb

+ 1
- 1
app/controllers/traces/projects_controller.rb View File

@@ -60,7 +60,7 @@ class Traces::ProjectsController < Traces::BaseController
domain = Trace.trace_config[:domain]
base_url = Trace.trace_config[:base_url]
url = "/user/pdfreport?task_id=#{params[:task_id]}"
file_path = [domain, api_url, url].join
file_path = [domain, base_url, url].join
request.headers["Authorization"] = current_user.trace_token
redirect_to file_path
rescue Exception => exception


Loading…
Cancel
Save