caidaoli commited on
Commit
400ff8c
·
verified ·
1 Parent(s): 885b47c

Update openai_ondemand_adapter.py

Browse files
Files changed (1) hide show
  1. openai_ondemand_adapter.py +2 -0
openai_ondemand_adapter.py CHANGED
@@ -14,6 +14,8 @@ SAFE_HEADERS = ["Authorization", "X-API-KEY"]
14
 
15
  # 全局接口访问权限检查
16
  def check_private_key():
 
 
17
  # 可以在这里放宽部分接口,比如首页等
18
  if request.path in ["/", "/favicon.ico"]:
19
  return
 
14
 
15
  # 全局接口访问权限检查
16
  def check_private_key():
17
+ print("======== request.headers:", request.headers, "========")
18
+
19
  # 可以在这里放宽部分接口,比如首页等
20
  if request.path in ["/", "/favicon.ico"]:
21
  return