diff options
| author | Kanacchi <[email protected]> | 2017-03-28 00:00:08 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-03-28 00:00:08 +0200 |
| commit | 3e38e138ca5b39d1b94e0b536fe44e322836f82f (patch) | |
| tree | 9273627f5f8466facc12b3685765410a79d441cb /config.sample.js | |
| parent | Merge pull request #21 from RyoshiKayo/patch-2 (diff) | |
| parent | added array with blocked file extensions (diff) | |
| download | host.fuwn.me-3e38e138ca5b39d1b94e0b536fe44e322836f82f.tar.xz host.fuwn.me-3e38e138ca5b39d1b94e0b536fe44e322836f82f.zip | |
Merge pull request #22 from Onestay/onestay
added array with blocked file extensions
Diffstat (limited to 'config.sample.js')
| -rw-r--r-- | config.sample.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/config.sample.js b/config.sample.js index 49a66ec..8649613 100644 --- a/config.sample.js +++ b/config.sample.js @@ -4,7 +4,6 @@ module.exports = { If set to true the user will need to specify the auto-generated token on each API call, meaning random strangers wont be able to use the service unless they have the token loli-safe provides you with. - If it's set to false, then upload will be public for anyone to use. */ private: true, @@ -34,6 +33,14 @@ module.exports = { // Pages to process for the frontend pages: ['home', 'auth', 'dashboard', 'faq'], + // Add file extensions here which should be blocked + blockedExtensions: [ + '.exe', + '.bat', + '.cmd', + '.msi' + ], + // Uploads config uploads: { |