We now allow slashes in aliases.

This commit is contained in:
David Diaz 2017-12-26 23:50:05 -06:00
parent 24a0fdf788
commit 78a12e99f2
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ const httpVerbs = [
]; ];
const requestRegex = new RegExp(`(${httpVerbs.join('|')})\\s(.*)`, 'i'); const requestRegex = new RegExp(`(${httpVerbs.join('|')})\\s(.*)`, 'i');
const replacementRegex = /\$([a-zA-Z\.\d\-\_]*)/g; const replacementRegex = /\$([a-zA-Z\.\d\-\_\/\\]*)/g;
module.exports = { module.exports = {
httpVerbs, httpVerbs,