server: added missing app.get for beamline/image endpoint

This commit is contained in:
2026-04-27 11:52:52 +02:00
parent bbd251b3af
commit 8a093fec28
+1
View File
@@ -661,6 +661,7 @@ async def shutter(val: bool, token: str = Depends(oauth2_scheme)):
return "OK"
@app.get("/beamline/image")
async def get_image(token: str = Depends(oauth2_scheme)):
"""
Get the current camera image as a JPEG stream.