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"