mirror of
https://github.com/donlon/cloudflare-error-page.git
synced 2025-12-19 14:59:28 +00:00
doc: update README.md
This commit is contained in:
20
README.md
20
README.md
@@ -12,6 +12,8 @@ Here's an editor for the error page. You can try this out [here](https://virt.mo
|
||||
|
||||
## Quickstart for Programmers
|
||||
|
||||
### Python
|
||||
|
||||
Install `cloudflare-error-page` with pip.
|
||||
|
||||
``` Bash
|
||||
@@ -58,6 +60,18 @@ webbrowser.open('error.html')
|
||||
|
||||
You can also see this example [here](https://virt.moe/cloudflare-error-page/examples/default).
|
||||
|
||||
### Node.js
|
||||
|
||||
``` JavaScript
|
||||
// Coming soon!
|
||||
```
|
||||
|
||||
### PHP
|
||||
|
||||
``` PHP
|
||||
// Coming soon!
|
||||
```
|
||||
|
||||
## More Examples
|
||||
|
||||
### Catastrophic infrastructure failure
|
||||
@@ -95,7 +109,7 @@ params = {
|
||||
|
||||

|
||||
|
||||
[link](https://virt.moe/cloudflare-error-page/examples/catastrophic).
|
||||
[Link](https://virt.moe/cloudflare-error-page/examples/catastrophic)
|
||||
|
||||
### Web server is working
|
||||
|
||||
@@ -127,7 +141,7 @@ params = {
|
||||
|
||||

|
||||
|
||||
[link](https://virt.moe/cloudflare-error-page/examples/working).
|
||||
[Link](https://virt.moe/cloudflare-error-page/examples/working)
|
||||
|
||||
|
||||
### Using Flask server
|
||||
@@ -186,4 +200,4 @@ See [flask_demo.py](examples/flask_demo.py) for embedding the error pages into t
|
||||
"link": "https://youtube.com/watch?v=dQw4w9WgXcQ",
|
||||
},
|
||||
}
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user