master
yumoqing 2024-02-18 17:34:58 +08:00
parent 7ecda6d7e5
commit 100d3c6bc3
1 changed files with 2 additions and 1 deletions

View File

@ -340,6 +340,7 @@ class ProcessorResource(AppLogger, StaticResource,Url2File):
def url2processor(self, request, url, fpath):
config = getConfig()
url1 = url
url = self.entireUrl(request, url)
host = '/'.join(url.split('/')[:3])
path = '/' + '/'.join(url.split('/')[3:])
@ -350,7 +351,7 @@ class ProcessorResource(AppLogger, StaticResource,Url2File):
return processor
if fpath is None:
print(f'fpath is None ..., {url=}, {fpath=}')
print(f'fpath is None ..., {url=}, {url1=}')
return None
for word, handlername in self.y_processors:
if fpath.endswith(word):