diff video.py @ 27:27a754f8e8f8

deployment fixes
author drewp@bigasterisk.com
date Sat, 14 Oct 2023 17:08:36 -0700
parents bf860a23d0c1
children 1e058bea3ac2
line wrap: on
line diff
--- a/video.py	Thu Jun 29 13:57:47 2023 -0700
+++ b/video.py	Sat Oct 14 17:08:36 2023 -0700
@@ -88,6 +88,7 @@
 
     app.add_middleware(PrometheusMiddleware, app_name='video_api')
     app.add_route("/video/api/metrics", handle_metrics)
+    app.add_route("/metrics", handle_metrics)
 
     app.state.processTask = asyncio.create_task(dl_queue.process())
     return app