diff --git a/app/main.py b/app/main.py index 0a02dd1..820f888 100644 --- a/app/main.py +++ b/app/main.py @@ -21,7 +21,7 @@ app.add_middleware( SessionMiddleware, secret_key=SESSION_SECRET_KEY, same_site="lax", - https_only=False, # 아직 전용 도메인/TLS가 없어 내부 IP:포트(http)로 접근하기 때문 + https_only=True, # speech.du5t.xyz는 NPM에서 TLS 종료 후 내부로 포워딩됨 max_age=14 * 24 * 3600, ) app.add_middleware(