From 7255015cf3a09bebaaf0ae23999d213a501e228c Mon Sep 17 00:00:00 2001 From: Annwan Date: Sun, 11 Aug 2024 22:28:51 +0200 Subject: [PATCH] [Dispatch] forgot 1 = --- main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.lua b/main.lua index a20eedd..7fe47de 100755 --- a/main.lua +++ b/main.lua @@ -6,7 +6,7 @@ local app_yqtemplate = require"yqtemplate" while fcgi.accept() do app = fcgi.getenv("DOCUMENT_URI"):sub(6) - if app = "yqtemplate" then + if app == "yqtemplate" then app_yqtemplate(fcgi) else fcgi.print"Content-Type: text/plain; charset=utf-8\r\n\r\n"