Skip to content

Commit

Permalink
Revert "Update rom.py to Fix Filename error"
Browse files Browse the repository at this point in the history
This reverts commit e2bfbac. The fix
has been applied to the `master` branch in PR #1224.
  • Loading branch information
adamantike committed Nov 2, 2024
1 parent fdbff59 commit 331c7ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/endpoints/rom.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ async def head_rom_content(
media_type="application/octet-stream",
headers={
"Content-Disposition": f'attachment; filename="{quote(files_to_check[0])}"',
"X-Accel-Redirect": f"/library/{quote(rom.full_path)}/{quote(files_to_check[0])}",
"X-Accel-Redirect": f"/library/{rom.full_path}/{files_to_check[0]}",
},
)

Expand Down

0 comments on commit 331c7ae

Please sign in to comment.