Add w/o slash to the whitelist paths

as recommended in https://github.com/LLK/scratchr2/pull/4127#issuecomment-256484893
This commit is contained in:
Matthew Taylor 2016-10-27 08:38:17 -04:00
parent fa1b6c6c00
commit 7e04ae1088

View file

@ -12,7 +12,8 @@ var Types = keyMirror({
var banWhitelistPaths = [
'/accounts/banned-response/',
'/community_guidelines/'
'/community_guidelines/',
'/community_guidelines'
];
module.exports.Status = keyMirror({