bugfix
This commit is contained in:
parent
00a2a3e085
commit
e36548d7f3
@ -38,6 +38,7 @@ class AuthAPI(AppLogger):
|
||||
include_ip=True)
|
||||
|
||||
# setup aiohttp_auth.auth middleware in aiohttp fashion
|
||||
# print('policy = ', policy)
|
||||
auth.setup(app, policy)
|
||||
app.middlewares.append(self.checkAuth)
|
||||
app.router.add_route('GET', '/logout', self.logout)
|
||||
|
@ -315,10 +315,6 @@ class ProcessorResource(AppLogger, StaticResource,Url2File):
|
||||
processor = FunctionProcessor(path,self,a)
|
||||
return processor
|
||||
|
||||
if self.request_filename is None:
|
||||
self.error('%s:not found' % str(request.url))
|
||||
raise HTTPNotFound
|
||||
|
||||
for word, handlername in self.y_processors:
|
||||
if fpath.endswith(word):
|
||||
Klass = getProcessor(handlername)
|
||||
|
Loading…
Reference in New Issue
Block a user