From 3ba9f55a6c1a0415c92d36f37dbe31d53d5e46ff Mon Sep 17 00:00:00 2001 From: Anthony Donlon Date: Wed, 10 Dec 2025 22:40:35 +0800 Subject: [PATCH] nodejs/template: fix creator_info not hidden on default config --- nodejs/templates/error.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodejs/templates/error.ejs b/nodejs/templates/error.ejs index d64391e..91f47a9 100644 --- a/nodejs/templates/error.ejs +++ b/nodejs/templates/error.ejs @@ -97,7 +97,7 @@ Performance & security by <%= perf_sec_by.text || 'Cloudflare' %> <% const creator_info = params.creator_info || {}; %> - <% if (!creator_info.hidden) { %> + <% if (!(creator_info.hidden ?? true)) { %> Created with <%= creator_info.text %> <% } %>