Skip to content

Commit

Permalink
Remove fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
clr-li committed Mar 1, 2024
1 parent 3b1a5b0 commit c5aee2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gooey_ui/components/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ def download_button(
disabled: bool = False,
**props,
) -> bool:
url = url.split("#t=0.001")[0]
url = furl(url).remove(fragment=True).url
return button(
component="download-button",
url=url,
Expand Down

0 comments on commit c5aee2a

Please sign in to comment.