README.md rewritten sentence by sentence (closes #189) #195

Merged
clawbot merged 9 commits from readme-rewrite-189 into next 2026-10-26 08:13:00 +01:00
Showing only changes of commit 28317f428f - Show all commits
+6 -5
View File
@@ -353,7 +353,7 @@ names the variable. An empty variable counts as unset, except `TRUSTED_PROXIES`.
- `SENTRY_DSN`, default empty: the DSN of a Sentry project to report crashes to.
See [Sentry](#sentry).
- `DEBUG`, default empty: any non-empty value turns debug logging on, `false`
and `0` included. No value of it stops the start.
and `0` included. Every value is accepted.
### Trusted proxies
@@ -464,10 +464,11 @@ every report stored before them is deleted to make room. A lower
### CORS
The page calls the API from the origin it is served from. By default the server
sends no CORS headers, so browsers let no other origin's pages call it. To serve
the page from elsewhere, list that origin in `CORS_ALLOWED_ORIGINS`, for example
`https://netwatch.example.com`. Pages from a listed origin may `GET` and `POST`
with a `Content-Type` header.
sends no CORS headers, so browsers let no other origin's pages call it.
`CORS_ALLOWED_ORIGINS` lets pages served from the listed origins call the API,
for example `https://netwatch.example.com`. The page as built posts to its own
origin only, so it needs no entry. Pages from a listed origin may `GET` and
`POST` with a `Content-Type` header.
Each entry must be a plain origin as browsers send it: `scheme://host`, with an
optional `:port`, no path, no trailing `/` and no `*`. Any other entry stops the