mirror of
https://github.com/donlon/cloudflare-error-page.git
synced 2025-12-19 14:59:28 +00:00
doc(readme): update images
This commit is contained in:
15
README.md
15
README.md
@@ -56,8 +56,6 @@ You can also see this example [here](https://virt.moe/cloudflare-error-page/exam
|
|||||||
|
|
||||||
### Catastrophic infrastructure failure
|
### Catastrophic infrastructure failure
|
||||||
|
|
||||||
See this example [here](https://virt.moe/cloudflare-error-page/examples/catastrophic).
|
|
||||||
|
|
||||||
``` JavaScript
|
``` JavaScript
|
||||||
params = {
|
params = {
|
||||||
"title": "Catastrophic infrastructure failure",
|
"title": "Catastrophic infrastructure failure",
|
||||||
@@ -89,12 +87,13 @@ params = {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||

|
See this example [here](https://virt.moe/cloudflare-error-page/examples/catastrophic).
|
||||||
|
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
### Web server is working
|
### Web server is working
|
||||||
|
|
||||||
See this example [here](https://virt.moe/cloudflare-error-page/examples/working).
|
|
||||||
|
|
||||||
``` JavaScript
|
``` JavaScript
|
||||||
params = {
|
params = {
|
||||||
"title": "Web server is working",
|
"title": "Web server is working",
|
||||||
@@ -113,7 +112,7 @@ params = {
|
|||||||
"host_status": {
|
"host_status": {
|
||||||
"status": "ok",
|
"status": "ok",
|
||||||
"location": "example.com",
|
"location": "example.com",
|
||||||
"status_text": "Just Working",
|
"status_text": "Almost Working",
|
||||||
},
|
},
|
||||||
"error_source": "host",
|
"error_source": "host",
|
||||||
"what_happened": "<p>This site is still working. And it looks great.</p>",
|
"what_happened": "<p>This site is still working. And it looks great.</p>",
|
||||||
@@ -121,7 +120,9 @@ params = {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||

|
See this example [here](https://virt.moe/cloudflare-error-page/examples/working).
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
### Using Flask server
|
### Using Flask server
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
"host_status": {
|
"host_status": {
|
||||||
"status": "ok",
|
"status": "ok",
|
||||||
"location": "example.com",
|
"location": "example.com",
|
||||||
"status_text": "Just Working"
|
"status_text": "Almost Working"
|
||||||
},
|
},
|
||||||
"error_source": "host",
|
"error_source": "host",
|
||||||
"what_happened": "<p>This site is still working. And it looks great.</p>",
|
"what_happened": "<p>This site is still working. And it looks great.</p>",
|
||||||
|
|||||||
Reference in New Issue
Block a user