@ -14,7 +14,7 @@ module.exports = function (app, modulefolder, opts = {}, subdir = '') {
let [, method, url] = regex.exec(f);
url = '/' + subdir + '/' + url + '/';
url = url
.replace(/^\/root/i, '/')
.replace(/^\/[^/]*\/root/i, '/')
.replace(/\./g, '/')
.replace(/\/+/g, '/');
The note is not visible to the blocked user.