Python integration with c++ binary (not totally working yet)

This commit is contained in:
DomySh
2022-07-18 18:52:14 +02:00
parent 02fe8f0064
commit 2a5be65feb
12 changed files with 594 additions and 866 deletions

View File

@@ -48,7 +48,7 @@ async def updater(): pass
@app.on_event("startup")
async def startup_event():
db.init()
await firewall.init(refresh_frontend)
await firewall.init()
await refresh_frontend()
if not JWT_SECRET(): db.put("secret", secrets.token_hex(32))