-
Notifications
You must be signed in to change notification settings - Fork 0
Mobile browser support and resumable downloads #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ed0f200 to
d5180f7
Compare
ccebd40 to
4f667a7
Compare
e45befd to
217508b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 11 out of 11 changed files in this pull request and generated 2 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| function displayShareLink(elements, transferId) { | ||
| const { shareUrl, shareLink, dropArea } = elements; | ||
| shareUrl.value = `https://transit.sh/${transferId}`; | ||
| shareUrl.value = `${window.location.origin}/${transferId}`; |
Copilot
AI
Sep 15, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The share URL is hardcoded to use window.location.origin but the original code used https://transit.sh/. This change could break the functionality if the application is deployed on a different domain or uses a CDN.
| shareUrl.value = `${window.location.origin}/${transferId}`; | |
| shareUrl.value = `https://transit.sh/${transferId}`; |
Uh oh!
There was an error while loading. Please reload this page.