📝 — Add precisions to unauthenticated endpoints

This commit is contained in:
Luc Didry 2023-12-29 05:32:43 +00:00
parent 0deb1758e4
commit 89adb86340
1 changed files with 15 additions and 15 deletions

View File

@ -70,21 +70,21 @@ Please, see [this wiki page](https://framagit.org/fiat-tux/hat-softwares/lufi/wi
## API endpoints ## API endpoints
Some endpoints require authentication, others don't. When using accounts, some endpoints require authentication, others don't.
Here are the endpoints that needs to be whitelisted from authentication : Here are the endpoints that needs to be excluded from authentication if youre using an authenticating proxy:
* `"^/r/"` - `"^/r/"` (page to get a file)
* `"^/js/"`, - `"^/js/"` (get js assets)
* `"^/img/"`, - `"^/img/"` (get images assets)
* `"^/css/"`, - `"^/css/"` (get css assets)
* `"^/lang/"`, - `"^/lang/"` (change language)
* `"^/font/"`, - `"^/font/"` (get fonts assets)
* `"^/partial/"`, - `"^/partial/"` (get rendered js assets)
* `"^/download/"`, - `"^/download/"` (websocket URL to download a file)
* `"^/upload"`, - `"^/upload"` (websocket URL to upload a file)
* `"^/guest/"`, - `"^/guest/"` (guest page for uploading)
* `"^/about"`, - `"^/about"` (about page)
* `"^/delays$"`, - `"^/delays$"` (delays information page)
* `"^/fulstats$"` - `"^/fullstats$"` (JSON endpoint giving stats about the files)
## Authors ## Authors