[refactor] web server routing system (#270)

* [refactor] web server routing system

* regex literal

* Docs
This commit is contained in:
Brahim Hadriche authored and GitHub committed 2024-01-15 19:25:13 -05:00
1 parent a710a23444
commit 7e5b2246fa
25 files changed
+820 -656

No files matched your search

@@ -14,7 +14,7 @@ function GetLatestPlayletLibVersionFromGithubReleases() as string
if response.StatusCode() = 200
headers = response.Headers()
if headers.location <> invalid
regex = CreateObject("roRegex", "/v?(\d+\.\d+\.\d+)", "")
regex = /\/v?(\d+\.\d+\.\d+)/
match = regex.match(headers.location)
if match.Count() = 2
return match[1]