This commit is contained in:
grillazz
2026-03-09 18:08:22 +01:00
parent 21c5953385
commit a24f440a19
4 changed files with 27 additions and 8 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
from granian import Granian
def startup():
print("Server starting up...")
@@ -16,4 +17,4 @@ server = Granian(
)
server.on_startup(startup)
server.on_shutdown(shutdown)
server.serve_forever()
server.serve_forever()