This commit is contained in:
Zeni Kim 2025-03-18 23:43:09 -05:00
parent 790c840f76
commit 1a39c666a3

View file

@ -105,7 +105,7 @@ func (app *App) Run(router *httprouter.Router) {
// check if template engine is enable // check if template engine is enable
TemplateEnableStr := os.Getenv("TEMPLATE_ENABLE") TemplateEnableStr := os.Getenv("TEMPLATE_ENABLE")
if "" == TemplateEnableStr { if "" == TemplateEnableStr {
TemplateEnableStr = 'false' TemplateEnableStr = "false"
} }
TemplateEnable, _ := strconv.ParseBool(TemplateEnableStr) TemplateEnable, _ := strconv.ParseBool(TemplateEnableStr)
// if enabled, // if enabled,