mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-18 17:21:33 +00:00
Updated
I forgot to update sample config file in the previous commit. config.uploads.fileLength -> config.uploads.fileIdentifierLength. Updated README.md.
This commit is contained in:
parent
02e2e402c3
commit
4bad86003c
@ -1,6 +1,6 @@
|
|||||||
# lolisafe, a small safe worth protecting
|
# lolisafe, a small safe worth protecting
|
||||||
|
|
||||||
![safe.fiery.me](https://i.fiery.me/hIty.png)
|
[![safe.fiery.me](https://i.fiery.me/zSYB.png)](https://safe.fiery.me)
|
||||||
|
|
||||||
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://raw.githubusercontent.com/WeebDev/lolisafe/master/LICENSE)
|
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://raw.githubusercontent.com/WeebDev/lolisafe/master/LICENSE)
|
||||||
|
|
||||||
|
@ -258,19 +258,13 @@ module.exports = {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
The length of the randomly generated identifier for uploaded files.
|
The length of the randomly generated identifier for uploaded files.
|
||||||
If "userChangeable" is set to true, registered users will be able to change
|
If "force" is set to true, files will always use "default".
|
||||||
their preferred length from the dashboard. The allowed range will be set
|
|
||||||
by "min" and "max". Otherwise it will use "default".
|
|
||||||
|
|
||||||
It's possible to have "default" be outside of the "min" and "max" range,
|
|
||||||
but be aware that once a user has changed their preferred length to be somewhere
|
|
||||||
within the range, they will no longer be able to restore it back to "default".
|
|
||||||
*/
|
*/
|
||||||
fileLength: {
|
fileIdentifierLength: {
|
||||||
min: 4,
|
min: 4,
|
||||||
max: 32,
|
max: 32,
|
||||||
default: 32,
|
default: 8,
|
||||||
userChangeable: false
|
force: false
|
||||||
},
|
},
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user