diff --git a/README.md b/README.md index 16ba2a3..0ecfa47 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # 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) diff --git a/config.sample.js b/config.sample.js index e381321..981e493 100644 --- a/config.sample.js +++ b/config.sample.js @@ -258,19 +258,13 @@ module.exports = { /* The length of the randomly generated identifier for uploaded files. - If "userChangeable" is set to true, registered users will be able to change - 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". + If "force" is set to true, files will always use "default". */ - fileLength: { + fileIdentifierLength: { min: 4, max: 32, - default: 32, - userChangeable: false + default: 8, + force: false }, /*