This website works better with JavaScript.
홈
탐색
도움말
가입하기
로그인
OpenSource
/
dify
보기
4
좋아요
0
포크
0
코드
이슈
0
풀 리퀘스트
0
릴리즈
152
위키
Activity
소스 검색
fix: Change API key authentication failure response code from 404 to 401 (
#6885
)
tags/0.6.16
ian
1 년 전
부모
104c797dd0
커밋
093f902335
No account linked to committer's email address
1개의 변경된 파일
과
1개의 추가작업
그리고
1개의 파일을 삭제
분할 보기
변경상태 보기
1
1
api/controllers/inner_api/wraps.py
+ 1
- 1
api/controllers/inner_api/wraps.py
파일 보기
@@ -19,7 +19,7 @@ def inner_api_only(view):
# get header 'X-Inner-Api-Key'
inner_api_key = request.headers.get('X-Inner-Api-Key')
if not inner_api_key or inner_api_key != dify_config.INNER_API_KEY:
abort(40
4
)
abort(40
1
)
return view(*args, **kwargs)
Write
Preview
Loading…
취소
저장