This commit is contained in:
yumoqing 2024-12-25 11:01:49 +08:00
parent a4a18a5ca8
commit edce9df81b

View File

@ -399,8 +399,8 @@ class ProcessorResource(StaticResource,Url2File):
path = '/' + '/'.join(url.split('/')[3:]) path = '/' + '/'.join(url.split('/')[3:])
if config.website.startswiths: if config.website.startswiths:
for a in config.website.startswiths: for a in config.website.startswiths:
leading = self.entireUrl(request, a.leading)
if path.startswith(a.leading): if path.startswith(a.leading):
path = self.entireUrl(request, path)
processor = FunctionProcessor(path,self,a) processor = FunctionProcessor(path,self,a)
return processor return processor