Task: Add spring session and redis data for externalized session

This commit is contained in:
2021-07-25 19:05:19 +07:00
parent 64a6023b77
commit 85b1573391
3 changed files with 21 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
package com.cubetiqs.fusion.config
import org.springframework.context.annotation.Configuration
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession
@Configuration
@EnableRedisHttpSession
class SessionConfig

View File

@@ -6,6 +6,9 @@ logging:
org.atmosphere: warn
spring:
session:
store-type: redis
mustache:
check-template-location: false