소스 검색

chore(api): remove setting of expired remember_token cookie in after_request (#10582)

tags/0.11.2
-LAN- 11 달 전
부모
커밋
3e04c92ff9
No account linked to committer's email address
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0
    1
      api/app.py

+ 0
- 1
api/app.py 파일 보기

@@ -53,7 +53,6 @@ if dify_config.TESTING:
@app.after_request
def after_request(response):
"""Add Version headers to the response."""
response.set_cookie("remember_token", "", expires=0)
response.headers.add("X-Version", dify_config.CURRENT_VERSION)
response.headers.add("X-Env", dify_config.DEPLOY_ENV)
return response

Loading…
취소
저장