Skip to content

Commit

Permalink
fix the cookie name
Browse files Browse the repository at this point in the history
  • Loading branch information
liberhe committed Jan 9, 2024
1 parent ae28e04 commit 3c52e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/dl/officialsite/config/WebConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public CookieGenerator cookieGenerator() {
@Bean
public CookieSerializer cookieSerializer() {
DefaultCookieSerializer serializer = new DefaultCookieSerializer();
serializer.setCookieName("JSESSIONID");
// serializer.setCookieName("JSESSIONID");
serializer.setCookiePath("/");
//serializer.setDomainNamePattern(".dapplearning.org");
serializer.setDomainNamePattern("^.+?\\.(\\w+\\.[a-z]+)$");
Expand Down

0 comments on commit 3c52e6e

Please sign in to comment.