Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'main' into github-url
  • Loading branch information
cyclotruc authored Dec 14, 2024
commit c98c61fd21984be52bf94abc877f146a6762b6e4
5 changes: 4 additions & 1 deletion src/static/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,7 @@ document.addEventListener('DOMContentLoaded', initializeSlider);

// Make sure these are available globally
window.copyText = copyText;
window.handleSubmit = handleSubmit;

window.handleSubmit = handleSubmit;
window.initializeSlider = initializeSlider;
window.formatSize = formatSize;
3 changes: 2 additions & 1 deletion src/utils/parse_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ def parse_url(url: str, max_file_size: int) -> dict:
"max_file_size": int(max_file_size) * 1024
}




# Normalize URL by adding https:// if missing
if not url.startswith("https://"):
url = "https://" + url

Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.