server: added missing app.get for beamline/image endpoint
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user