list unauthenticated endpoints
Ease the setup of a WAF or a reverse-proxy. Fixes #233
This commit is contained in:
parent
154ecd6ebf
commit
0deb1758e4
18
README.md
18
README.md
|
@ -68,6 +68,24 @@ Lufi comes with several languages.
|
||||||
|
|
||||||
Please, see [this wiki page](https://framagit.org/fiat-tux/hat-softwares/lufi/wikis/contribute#internationalization) to know how to contribute to internationalization.
|
Please, see [this wiki page](https://framagit.org/fiat-tux/hat-softwares/lufi/wikis/contribute#internationalization) to know how to contribute to internationalization.
|
||||||
|
|
||||||
|
## API endpoints
|
||||||
|
|
||||||
|
Some endpoints require authentication, others don't.
|
||||||
|
Here are the endpoints that needs to be whitelisted from authentication :
|
||||||
|
* `"^/r/"`
|
||||||
|
* `"^/js/"`,
|
||||||
|
* `"^/img/"`,
|
||||||
|
* `"^/css/"`,
|
||||||
|
* `"^/lang/"`,
|
||||||
|
* `"^/font/"`,
|
||||||
|
* `"^/partial/"`,
|
||||||
|
* `"^/download/"`,
|
||||||
|
* `"^/upload"`,
|
||||||
|
* `"^/guest/"`,
|
||||||
|
* `"^/about"`,
|
||||||
|
* `"^/delays$"`,
|
||||||
|
* `"^/fulstats$"`
|
||||||
|
|
||||||
## Authors
|
## Authors
|
||||||
|
|
||||||
See [AUTHORS.md](AUTHORS.md) file.
|
See [AUTHORS.md](AUTHORS.md) file.
|
||||||
|
|
Loading…
Reference in New Issue