mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-25 23:17:34 -04:00
parallel resource downloading
This commit is contained in:
parent
fb587a6d30
commit
fe5244d458
11 changed files with 116 additions and 40 deletions
|
@ -7,7 +7,7 @@ const url_regex: String = "^(https?)://[^\\s()<>]+(?:\\([\\w\\d]+\\)|([^[:punct:
|
|||
static func join(base_url: String, path: String) -> String:
|
||||
var url = ""
|
||||
if path.is_empty():
|
||||
url = base_url
|
||||
url = ""
|
||||
elif path.begins_with("http"):
|
||||
url = path
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue