bugfix
This commit is contained in:
parent
dc1b5162fa
commit
ee72f8a8cd
@ -359,7 +359,7 @@ class ProcessorResource(AppLogger, StaticResource,Url2File):
|
|||||||
if self.request_filename and os.path.isdir(self.request_filename):
|
if self.request_filename and os.path.isdir(self.request_filename):
|
||||||
path = '%s/oops' % path
|
path = '%s/oops' % path
|
||||||
p = self.relatedurl(path,url)
|
p = self.relatedurl(path,url)
|
||||||
schema = request.headers.get('X-Forward-Scheme') or request.scheme
|
scheme = request.headers.get('X-Forward-Scheme') or request.scheme
|
||||||
return '%s://%s%s' % (scheme, h, p)
|
return '%s://%s%s' % (scheme, h, p)
|
||||||
|
|
||||||
async def path_call(self, request, path, params={}):
|
async def path_call(self, request, path, params={}):
|
||||||
|
Loading…
Reference in New Issue
Block a user