9
0
mirror of https://github.com/donlon/cloudflare-error-page.git synced 2025-12-28 11:19:20 +00:00

readme: update description for JavaScript/NodeJS

This commit is contained in:
Anthony Donlon
2025-12-23 00:11:19 +08:00
parent b2164729b4
commit 5a633b5958
3 changed files with 48 additions and 7 deletions

View File

@@ -70,7 +70,7 @@ function genHexString(digits: number): string {
* Render a customized Cloudflare error page
* @param params - The parameters for the error page
* @param allowHtml - Whether to allow HTML in what_happened and what_can_i_do fields (default: true)
* @param moreArgs - More arguments passed to ejs template
* @param moreArgs - More arguments passed to the ejs template
* @returns The rendered HTML string
*/
export function render(