add webserver

This commit is contained in:
2025-01-15 23:38:39 +01:00
parent 7224111a0b
commit f9c4d3e2db
8 changed files with 3957 additions and 0 deletions

10
chatbug/ui/server.py Normal file
View File

@@ -0,0 +1,10 @@
from .bottle_svr import BottleServer
def start_server(start_thread=False):
print("server start")
return BottleServer(start_thread=start_thread, root="web")
if __name__ == "__main__":
start_server()