fixes and functions
This commit is contained in:
@@ -86,13 +86,20 @@ Publishing a protected note requires its password, but the generated public page
|
||||
|
||||
## Upload limit
|
||||
|
||||
Configure the maximum size of a single uploaded file with `UPLOAD_MAX_SIZE_MB` in `.env`, for example:
|
||||
Configure the maximum size of a single uploaded file for signed-in users with `UPLOAD_MAX_SIZE_MB` in `.env`, for example:
|
||||
|
||||
```env
|
||||
UPLOAD_MAX_SIZE_MB=50
|
||||
```
|
||||
|
||||
The default limit is 20 MB. Restart the project with `./dev.sh` after changing it.
|
||||
The default limit is 20 MB. Uploads by guests are disabled by default. Enable them deliberately and set their separate per-file limit with:
|
||||
|
||||
```env
|
||||
GUEST_UPLOAD_ENABLED=true
|
||||
GUEST_UPLOAD_MAX_SIZE_MB=5
|
||||
```
|
||||
|
||||
Guest uploads still require read-write access to the note or workspace. Restart the project with `./dev.sh` after changing these values.
|
||||
|
||||
## Database selection
|
||||
|
||||
|
||||
Reference in New Issue
Block a user