diff --git a/dcap-attestation/src/dcap_attestation/api.py b/dcap-attestation/src/dcap_attestation/api.py index 1e34d28..5f92bc4 100644 --- a/dcap-attestation/src/dcap_attestation/api.py +++ b/dcap-attestation/src/dcap_attestation/api.py @@ -65,7 +65,7 @@ async def view(checksum: str, db: Session = Depends(get_db)): d['can_download'] = row.has_raw_quote return JSONResponse(content=d) -@app.get('/collateral/{checksum}.json') +@app.get('/collateral/{checksum}') async def get_collateral(checksum: str, db: Session = Depends(get_db)): row = crud.get_quote(db, checksum) if not row: