Skip to content

Commit

Permalink
Revert "imp: add json suffix for caching."
Browse files Browse the repository at this point in the history
This reverts commit dc38080.
  • Loading branch information
Leechael committed Feb 3, 2025
1 parent 26dbb87 commit b0e8b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dcap-attestation/src/dcap_attestation/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b0e8b15

Please # to comment.