🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@kjanat/404-page

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kjanat/404-page - npm Package Compare versions

Comparing version
2.3.1
to
2.4.0
+1
-1
package.json
{
"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",

@@ -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