This commit is contained in:
yumoqing 2024-01-31 22:15:55 +08:00
parent 27fe0dff96
commit c8632d3df3
2 changed files with 2 additions and 0 deletions

View File

@ -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):

View File

@ -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,