diff --git a/cloudflare_error_page/templates/error.html b/cloudflare_error_page/templates/error.html index 3e6dcf4..96661ef 100644 --- a/cloudflare_error_page/templates/error.html +++ b/cloudflare_error_page/templates/error.html @@ -27,7 +27,7 @@ Error code {{ error_code }} {% set more_info = params.more_information or {} %} - {% if not more_info.hidden or false %} + {% if not more_info.hidden or false %}{# default: shown #}
Visit {{more_info.text or 'cloudflare.com'}} for more information.
diff --git a/editor/resources/index.html b/editor/resources/index.html index b6c87da..f7c0940 100644 --- a/editor/resources/index.html +++ b/editor/resources/index.html @@ -139,9 +139,6 @@ "what_can_i_do": "Visit the site before it crashes someday." }, }; - if (window.location.search == '') { - window.history.pushState('sss', '', '?s'); - } function extractUrlParam(str, key) { const urlParams = new URLSearchParams(str) diff --git a/examples/catastrophic.json b/examples/catastrophic.json index a9b87d4..cba89a4 100644 --- a/examples/catastrophic.json +++ b/examples/catastrophic.json @@ -7,7 +7,7 @@ "cloudflare_status": { "status": "error", "location": "Everywhere", - "status_text": "Not Working" + "status_text": "Error" }, "host_status": { "status": "error",