Spaces:
Sleeping
Sleeping
Ekimart commited on
Commit ·
b54e1bf
1
Parent(s): 26cd7c2
Associer l'application WebSocket à l'instance de service pour permettre son accès global.
Browse files
main.py
CHANGED
|
@@ -406,6 +406,7 @@ class WebSocketNotificationService:
|
|
| 406 |
def main():
|
| 407 |
service = WebSocketNotificationService()
|
| 408 |
service.run()
|
|
|
|
| 409 |
|
| 410 |
|
| 411 |
if __name__ == "__main__":
|
|
|
|
| 406 |
def main():
|
| 407 |
service = WebSocketNotificationService()
|
| 408 |
service.run()
|
| 409 |
+
app = service.app
|
| 410 |
|
| 411 |
|
| 412 |
if __name__ == "__main__":
|