feat: add custom banner to status page (#4)

This commit is contained in:
2026-04-12 19:38:16 +02:00
committed by GitHub
parent a3acea4d35
commit 81cf70cbe3
5 changed files with 92 additions and 10 deletions

View File

@@ -57,6 +57,7 @@ __ ,--~' ~~----____
- Response time charts (uPlot) with downtime bands.
- Basic auth or public access modes.
- Dark/light mode.
- Custom banner image support with optional clickable link.
## Architecture
@@ -135,7 +136,7 @@ settings:
### Per-Monitor Overrides
Each monitor can override the global default_* settings:
Each monitor can override the global default\_\* settings:
```yaml
- name: 'critical-api'
@@ -271,6 +272,17 @@ wrangler secret put STATUS_PUBLIC # Set value to "true"
- If credentials are set: basic auth required
- Otherwise: 403 Forbidden
**Custom Banner:**
You can add a custom banner image to replace the title text on the status page:
```toml
# In wrangler.toml
[vars]
STATUS_BANNER_URL = "https://example.com/banner.png"
STATUS_BANNER_LINK = "https://example.com" # optional
```
## Secret Management
Secrets are managed via Cloudflare's secret system. To add a new secret: