]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
fixup! use js scheme detection
authorPetr Špaček <petr.spacek@nic.cz>
Fri, 14 Feb 2020 16:44:18 +0000 (17:44 +0100)
committerPetr Špaček <petr.spacek@nic.cz>
Fri, 14 Feb 2020 16:44:18 +0000 (17:44 +0100)
modules/http/http.lua.in

index 7d022a448ec50226b9389b06eb9c713838dd5bcb..70048265f1cd617c24da51323f54b8c54c26c6f7 100644 (file)
@@ -106,7 +106,7 @@ local function serve_root()
        data = data
                :gsub('{{ title }}', M.title or ('kresd @ ' .. hostname()))
                :gsub('{{ host }}', hostname())
-       return function (_, stream)
+       return function (_, _)
                -- Render snippets
                local rsnippets = {}
                for _,v in pairs(M.snippets) do