mirror of
https://github.com/donlon/cloudflare-error-page.git
synced 2025-12-19 14:59:28 +00:00
miscellaneous updates
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
<span class="code-label">Error code {{ error_code }}</span>
|
||||
</h1>
|
||||
{% set more_info = params.more_information or {} %}
|
||||
{% if not more_info.hidden or false %}
|
||||
{% if not more_info.hidden or false %}{# default: shown #}
|
||||
<div>
|
||||
Visit <a href="{{more_info.link or 'https://www.cloudflare.com/'}}" target="_blank" rel="noopener noreferrer">{{more_info.text or 'cloudflare.com'}}</a> for more information.
|
||||
</div>
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"cloudflare_status": {
|
||||
"status": "error",
|
||||
"location": "Everywhere",
|
||||
"status_text": "Not Working"
|
||||
"status_text": "Error"
|
||||
},
|
||||
"host_status": {
|
||||
"status": "error",
|
||||
|
||||
Reference in New Issue
Block a user