diff --git a/bin/configure-fastly.js b/bin/configure-fastly.js index 011ce3a50..729227d48 100644 --- a/bin/configure-fastly.js +++ b/bin/configure-fastly.js @@ -58,7 +58,7 @@ var getViewPaths = function (routes) { * all :arguments become .+? */ var expressPatternToRegex = function (pattern) { - return pattern.replace(/(:[^/]+)\//gi, '.+?/'); + return pattern.replace(/(:[^/]+)/gi, '.+?'); }; /*