Browse Source

修复:代码溯源cookie domain配置

pull/313/head
yystopf 4 years ago
parent
commit
4aebba2f25
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

@@ -92,7 +92,7 @@ class Traces::ProjectsController < Traces::BaseController
cookies[:vue_admin_template_token] = {
:value => current_user&.trace_token,
:expires => 1.hours.from_now,
:domain => Trace.trace_config[:domain]
:domain => Trace.trace_config[:cookie_domain]
}
end
end

Loading…
Cancel
Save