add webserver
This commit is contained in:
10
chatbug/ui/server.py
Normal file
10
chatbug/ui/server.py
Normal 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()
|
Reference in New Issue
Block a user