We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c069524 + 854ba77 commit d811e66Copy full SHA for d811e66
fileglancer/app.py
@@ -1181,6 +1181,11 @@ async def simple_login_handler(request: Request, body: dict = Body(...)):
1181
1182
return response
1183
1184
+ # Return 404 error at /attributes.json
1185
+ # Required for Neuroglancer to be able to render N5 volumes
1186
+ @app.get("/attributes.json", include_in_schema=False)
1187
+ async def serve_attributes_json():
1188
+ raise HTTPException(status_code=404, detail="Not found")
1189
1190
# Serve SPA at /* for client-side routing
1191
# This must be the LAST route registered
0 commit comments