mirror of
https://github.com/donlon/cloudflare-error-page.git
synced 2025-12-25 17:59:21 +00:00
editor/web: add Teapot preset
This commit is contained in:
@@ -238,6 +238,7 @@
|
||||
<option value="empty">Empty</option>
|
||||
<option value="catastrophic">Catastrophic failure</option>
|
||||
<option value="working">Server working</option>
|
||||
<option value="teapot">Teapot</option>
|
||||
<option value="consensual">Myth of consensual</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
@@ -103,6 +103,31 @@ const PRESETS = {
|
||||
what_happened: 'This site is still working. And it looks great.',
|
||||
what_can_i_do: 'Visit the site before it crashes someday.',
|
||||
},
|
||||
teapot: {
|
||||
title: "I'm a teapot",
|
||||
error_code: '418',
|
||||
more_information: {
|
||||
text: 'rfc2324',
|
||||
link: 'https://www.rfc-editor.org/rfc/rfc2324',
|
||||
},
|
||||
browser_status: {
|
||||
status: 'ok',
|
||||
location: 'You',
|
||||
status_text: 'Working',
|
||||
},
|
||||
cloudflare_status: {
|
||||
status: 'ok',
|
||||
status_text: 'Working',
|
||||
},
|
||||
host_status: {
|
||||
status: 'ok',
|
||||
location: 'Teapot',
|
||||
status_text: 'Working',
|
||||
},
|
||||
error_source: 'host',
|
||||
what_happened: "The server can not brew coffee for it is a teapot.",
|
||||
what_can_i_do: 'Please try a different coffee machine.',
|
||||
},
|
||||
consensual: {
|
||||
title: 'The Myth Of "Consensual" Internet',
|
||||
error_code: 'lmao',
|
||||
|
||||
Reference in New Issue
Block a user