diff --git a/vrel.lua b/vrel.lua index 19a1c87..5022272 100644 --- a/vrel.lua +++ b/vrel.lua @@ -242,7 +242,7 @@ httpd.start(config.address or "*", config.port or 8155, { -- Pages
expires in hours (burn on read) vrel
- ]] or highlight(get(name:match("^[^.]+"), request) or {data="paste not found"}, name:match("%.([a-zA-Z]+)$"):lower()))..[[ + ]] or highlight(get(name:match("^[^.]+"), request) or {data="paste not found"}, name:lower():match("%.([a-z]+)$")))..[[ ]] } end, ["/g/(.+)"] = function(request, name) local d = get(name, request) return d and { "200 OK", {["Content-Type"] = "text"}, d.data } or nil end,