access correct store.

This commit is contained in:
Sarah 2021-10-17 03:14:21 +02:00
parent 566e8a070a
commit 7b813ffb70
No known key found for this signature in database
GPG key ID: 708F7ACE058F0186

View file

@ -68,4 +68,4 @@ async def push_nar(req: Request) -> Response:
@app.route("/remote/{path:path}")
async def pull_nar(req: Request) -> Response:
return StreamingResponse(l_access.nar(f"remote/{req.path_params['path']}"), media_type="text/plain")
return StreamingResponse(r_access.nar(f"remote/{req.path_params['path']}"), media_type="text/plain")