This commit is contained in:
2026-08-21 23:19:33 +02:00
parent 029bf80c51
commit 971e9a614c
+2 -2
View File
@@ -73,7 +73,7 @@ local function parseGiteaURL(url)
origin = "",
owner = "",
repo = "",
branch = "",
--branch = "",
treeUrl = "",
}
local lowerUrl = string.lower(url)
@@ -96,7 +96,7 @@ local function parseGiteaURL(url)
info.treeUrl =
("%s%s/api/v1/repos/%s/%s/git/trees/%s%s?recursive=1")
:format(info.protocol, info.base, info.owner, info.repo, info.branch, ending)
:format(info.protocol, info.base, info.owner, info.repo, ending)
for k, v in pairs(info) do
if v == "" then