Simple auth

This commit is contained in:
marijo 2026-06-29 07:45:35 +00:00
parent 0b901a8a9f
commit f3f3a6e22f
2 changed files with 5 additions and 25 deletions

View file

@ -15,8 +15,4 @@ Open `index.html` in a browser to use it.
## Secret
The current demo secret is `change-me`. Before publishing, replace `AUTH_SECRET_HASH` in `app.js` with the SHA-256 hash of your real secret. This is a simple client-side gate, not strong server-side security.
```sh
printf 'your-secret' | sha256sum
```
The current demo secret is `change-me`. Before publishing, replace `AUTH_SECRET` in `app.js` with your real secret. This is a simple client-side gate, not strong server-side security.