fix: url validation, upload rotate.js

This commit is contained in:
Den Piligrim
2026-01-05 23:43:22 +03:00
parent 45f67d3848
commit 299ec3ecac
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ need_root() {
}
validate_url() {
[[ "$1" =~ ^https?://[^/]+:[0-9]+/.+ ]]
[[ "$1" =~ ^https?://[^/:]+:[0-9]+(/[^/]+)*$ ]]
}
#################################