Browse Source

dashboard: Fix the bug that cookie may have conflict with web applications under the same domain (#1443)

master
于玉桔 GitHub 4 years ago
parent
commit
d84d681dd8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      sentinel-dashboard/src/main/resources/application.properties

+ 3
- 0
sentinel-dashboard/src/main/resources/application.properties View File

@@ -3,6 +3,9 @@ spring.http.encoding.force=true
spring.http.encoding.charset=UTF-8 spring.http.encoding.charset=UTF-8
spring.http.encoding.enabled=true spring.http.encoding.enabled=true


#cookie name setting
server.servlet.session.cookie.name=sentinel_dashboard_cookie

#logging settings #logging settings
logging.level.org.springframework.web=INFO logging.level.org.springframework.web=INFO
logging.file=${user.home}/logs/csp/sentinel-dashboard.log logging.file=${user.home}/logs/csp/sentinel-dashboard.log


Loading…
Cancel
Save