Skip to content

Commit 275462a

Browse files
committed
🔧 chore: session timeout 속성 추가
1 parent 4f93a7b commit 275462a

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

backend/src/main/resources/application.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ spring:
1212
username: ${DB_USERNAME}
1313
password: ${DB_PASSWORD}
1414

15-
# Redis 도입 시 정의
16-
# data:
17-
# redis:
18-
# host: ${REDIS_HOST}
19-
# port: ${REDIS_PORT}
15+
# Redis 도입 시 정의
16+
# data:
17+
# redis:
18+
# host: ${REDIS_HOST}
19+
# port: ${REDIS_PORT}
2020

2121
jpa:
2222
defer-datasource-initialization: true # 현재는 data.sql 에서 더미 유저 자동 추가를 위해 넣어뒀음.
@@ -48,11 +48,12 @@ spring:
4848
user-name-attribute: id
4949

5050
file:
51-
thumbnail-path : images/thumbnail/ # 이후 배포 환경에서는 바꾸면 될 듯
51+
thumbnail-path: images/thumbnail/ # 이후 배포 환경에서는 바꾸면 될 듯
5252
default-thumbnail-url: /images/thumbnail/default.png
5353

5454
server:
5555
servlet:
5656
session:
5757
cookie:
58-
http-only: true
58+
http-only: true
59+
timeout: 1800

0 commit comments

Comments
 (0)