rootApp.all(/\+(\S+)/, function (req, res, next) {
var decodedPath = decodeURIComponent(req.path),
regexp = /\+[a-zA-Z0-9А-Яа-я_]+/;
var executed = regexp.exec(decodedPath);
if (executed != null) {
var parsed = executed[0].slice(1);
res.cookie("referer", parsed);
res.send(parsed);
}
else next();
});