From 5dc3c37eeea95ef99b0cc8606434caca3d6f5ad3 Mon Sep 17 00:00:00 2001 From: Reuh Date: Sat, 10 Dec 2016 22:36:26 +0100 Subject: [PATCH] well --- vrel.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,