bugfix
This commit is contained in:
parent
542c2d2660
commit
03249a2e22
@ -223,7 +223,11 @@ class UAPI:
|
||||
|
||||
async def stream_resp(self, api):
|
||||
path = await self.rendertmpl(api.path)
|
||||
url = self.env.get('baseurl') + path
|
||||
url = ''
|
||||
if path.startswith('https://') or path.startswith('http://'):
|
||||
url = path
|
||||
else:
|
||||
url = self.env.get('baseurl') + path
|
||||
method = api.httpmethod
|
||||
headers = await self.rendertmpl(api.headers)
|
||||
try:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user