Skip to content

Commit 8a9be18

Browse files
committed
Whoops
1 parent 3b7d685 commit 8a9be18

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

generate.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ local res,err=xpcall(function()
135135
html=html.."\t\t<div align=\"left\" name=\"content\" class=\"bvc\"><div class=\"bevel tl tr\"></div><div class=\"content\"><div class=\"title\">"..name.."</div>"
136136
end
137137
html=html.."\n\t\t<table>\n"
138+
local repourl = dat[2]
138139
table.remove(dat, 1)
139140
table.remove(dat, 1)
140141
table.sort(dat, function(a,b) return (type(a)=="table" and a[1] or a) < (type(b)=="table" and b[1] or b) end)
@@ -145,7 +146,7 @@ local res,err=xpcall(function()
145146
local url=pdat[2] or url_override_because_vexatos[pdat[1]]
146147
if url then
147148
if url:sub(1,1)=="/" then
148-
url=dat[2]..url
149+
url=repourl..url
149150
else
150151
url="https://github.com/"..url
151152
end

0 commit comments

Comments
 (0)