@kjanat/404-page
Advanced tools
+1
-1
| { | ||
| "name": "@kjanat/404-page", | ||
| "version": "2.3.1", | ||
| "version": "2.4.0", | ||
| "description": "Custom 404 error page for KajKowalski Edge.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://404.kjanat.com", |
+16
-0
@@ -43,2 +43,18 @@ # 404 - This host is not configured | ||
| The action bakes in `mode: path` by default, so the page reads as "this link is | ||
| broken, the site is fine" with climb-up links — the right voice for Pages, where | ||
| a 404 means the path is missing, not the whole host. Set `mode: domain` for an | ||
| unconfigured-host page, or `mode: auto` to detect at runtime instead. | ||
| ```yaml | ||
| - uses: kjanat/404@master | ||
| with: { directory: dist/site, mode: auto } | ||
| ``` | ||
| Note that `mode: auto` is weaker than the default on Pages: runtime detection | ||
| only upgrades to the path voice when it can prove the site is live — a same-host | ||
| referrer or a `*.github.io` host. A direct hit on a **custom** Pages domain (or | ||
| traffic arriving from another site) falls back to domain voice, which is why | ||
| `path` is baked in by default. | ||
| </details> | ||
@@ -45,0 +61,0 @@ |
Sorry, the diff of this file is too big to display
94777
8%63
34.04%