diff options
author | Sheogorath | 2019-09-18 22:59:43 +0200 |
---|---|---|
committer | GitHub | 2019-09-18 22:59:43 +0200 |
commit | 7f69ec5bcab4cb15ff6cf934224c9b724ae0491c (patch) | |
tree | e65acd203401629715d2bfddaaf283f1f83efbb6 /lib/config | |
parent | 110eef691e27c717673c5894e270895da52cba66 (diff) | |
parent | 9e1cc2159f115f818174d1346d4874b0e7e0be5c (diff) |
Merge pull request #180 from ErikMichelson/fix/trailingSlashRedirect
Fixed #179 (redirect loop with a trailing slash)
Diffstat (limited to 'lib/config')
-rw-r--r-- | lib/config/default.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/config/default.js b/lib/config/default.js index 12254d47..19bbeb21 100644 --- a/lib/config/default.js +++ b/lib/config/default.js @@ -32,7 +32,7 @@ module.exports = { allowAnonymous: true, allowAnonymousEdits: false, allowFreeURL: false, - forbiddenNoteIDs: ['robots.txt', 'favicon.ico', 'api'], + forbiddenNoteIDs: ['robots.txt', 'favicon.ico', 'api', 'build', 'css', 'docs', 'fonts', 'js', 'uploads', 'vendor', 'views'], defaultPermission: 'editable', dbURL: '', db: {}, |