diff --git a/config.default.lua b/config.default.lua index d9b3d1e..ee20ce4 100644 --- a/config.default.lua +++ b/config.default.lua @@ -28,5 +28,7 @@ return { -- Cached pages lifetime cacheDuration = 3600, -- 1 hour -- Time interval to remove expired cache entries (seconds) - cacheCleanInterval = 3600 -- 1 hour + cacheCleanInterval = 3600, -- 1 hour + -- Tile link location (the big "vrel" on the top right of the page) + titleLink = "/" } diff --git a/vrel.lua b/vrel.lua index cf1b752..d240550 100644 --- a/vrel.lua +++ b/vrel.lua @@ -232,8 +232,8 @@ httpd.start(config.address or "*", config.port or 8155, { -- Pages #topbar input[type=submit] { cursor: pointer; width: 8rem; } #topbar #vrel { font-size: 1.4rem; float: right; }
-
expires in hours (burn on read) (or send a file ) vrel
+
expires in hours (burn on read) + (or send a file ) vrel
]] } else local paste = get(name:match("^[^.]+"), request) or { data = "paste not found", syntax = "text", expire = os.time() }