From c8632d3df3b519fc31979d160de89c89b77b3601 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 31 Jan 2024 22:15:55 +0800 Subject: [PATCH] bugfix --- ahserver/baseProcessor.py | 1 + ahserver/configuredServer.py | 1 + 2 files changed, 2 insertions(+) diff --git a/ahserver/baseProcessor.py b/ahserver/baseProcessor.py index b380c8a..a0a67e9 100755 --- a/ahserver/baseProcessor.py +++ b/ahserver/baseProcessor.py @@ -153,6 +153,7 @@ class TemplateProcessor(BaseProcessor): class BricksUIProcessor(TemplateProcessor): @classmethod def isMe(self,name): + print('name=', name, 'i am bui') return name=='bui' async def datahandle(self, request): diff --git a/ahserver/configuredServer.py b/ahserver/configuredServer.py index 962eb29..b61ae74 100755 --- a/ahserver/configuredServer.py +++ b/ahserver/configuredServer.py @@ -61,6 +61,7 @@ class ConfiguredServer(AppLogger): reuse_port = None if platform != 'win32': reuse_port = True + print('reuse_port=', reuse_port) web.run_app(self.init_auth(),host=config.website.host or '0.0.0.0', port=port, reuse_port=reuse_port,