From 69c416c85bf92fca4b59aa78888a8aefbd0e0640 Mon Sep 17 00:00:00 2001 From: iceyrazor Date: Sat, 1 Aug 2026 01:25:42 -0500 Subject: init --- test.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 test.lua (limited to 'test.lua') diff --git a/test.lua b/test.lua new file mode 100755 index 0000000..7fdbaf9 --- /dev/null +++ b/test.lua @@ -0,0 +1,17 @@ +#!/usr/bin/env luajit + +local ssg = require("www/cgi-bin/cgi") +local str="" +ssg.newline=true + +ssg.render(m("html", + m("head", + m("title","ssg test") + ).. + m("body", + m("h1","Hello from Lua CGI").. + m("p", "ssg test").. + m("p",_VERSION) + ) +), +{["Content-Type"]="text/html"},200) -- cgit v1.3