diff --git a/lapis/app.lua b/lapis/app.lua index 4b0ce7f..b97e00f 100644 --- a/lapis/app.lua +++ b/lapis/app.lua @@ -5,7 +5,8 @@ local config = require("lapis.config").get() members = {{"fynn","https://fynngodau.de"}, {"anton","https://anton.ehrmanntraut.de"}, - {"max","https://aaahhh.de"}} + {"max","https://aaahhh.de"}, + {"cups",config.host}} members[#members+1] = members[1] math.randomseed(os.time()) @@ -19,7 +20,7 @@ app:get("/embed", function(self) if from == nil then return {"cups webring embed needs from defined (.../embed?from=me)"} end - return string.format('
', config.host, from, config.host, config.host, config.host, config.host, from, config.host), {layout = false, content_type="text/html"} + return string.format('
', config.host, from, config.host, config.host, config.host, from, config.host), {layout = false, content_type="text/html"} end) app:get("/random", function(self)