This commit is contained in:
yumoqing 2025-09-07 14:38:07 +08:00
parent 4307ac7b3e
commit 49b36184a0
2 changed files with 5 additions and 1 deletions

View File

@ -218,7 +218,8 @@ class UAPI:
return return
async def stream_resp(self, api): async def stream_resp(self, api):
url = self.env.get('baseurl') + api.path path = self.rendertmpl(api.path)
url = self.env.get('baseurl') + path
method = api.httpmethod method = api.httpmethod
headers = self.rendertmpl(api.headers) headers = self.rendertmpl(api.headers)
try: try:

View File

@ -0,0 +1,3 @@
return {
"challenge":f"{params_kw.challenge}"
}