mirror of
https://github.com/Astatin3/Polyboard.git
synced 2026-06-08 16:18:03 -06:00
"Finish" Working on backend
This commit is contained in:
@@ -6,6 +6,7 @@ from sys import argv
|
||||
webserv = web.webserv()
|
||||
moduleMaster = modules.moduleMaster()
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
if not utils.pathExists('data'):
|
||||
@@ -24,8 +25,9 @@ def main():
|
||||
if not utils.pathExists('data/selfsign.crt'):
|
||||
utils.genCert(utils.getRoot('data/'))
|
||||
|
||||
moduleMaster.addModules(webserv)
|
||||
webserv.init()
|
||||
moduleMaster.initModules(webserv)
|
||||
|
||||
webserv.start()
|
||||
moduleMaster.runModules()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user