From aa646d42e371c4f794c4d67b2ce68b076d619c81 Mon Sep 17 00:00:00 2001 From: Annwan Date: Sun, 11 Aug 2024 22:09:09 +0200 Subject: [PATCH] [YQTemplate] add script --- yqtemplate.lua | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 yqtemplate.lua diff --git a/yqtemplate.lua b/yqtemplate.lua new file mode 100644 index 0000000..e1138ad --- /dev/null +++ b/yqtemplate.lua @@ -0,0 +1,5 @@ +local fcgi = require"fcgi" +while fcgi.accept() do + fcgi.print("Content-Type: text/plain; charset=utf-8\r\n\r\n") + fcgi.print("Hello from" .. fcgi.getenv("DOCUMENT_URI") .. "\n") +end