Commit 7ae7db76 authored by Ray Schamp's avatar Ray Schamp

Fix typo

parent 62609cbc
......@@ -66,7 +66,7 @@ var expressPatternToRegex = function (pattern) {
* string suitable for a Fastly condition
*/
var pathsToCondition = function (paths) {
return 'req.url~^("' + paths.reduce(function (conditionString, pattern) {
return 'req.url~"^(' + paths.reduce(function (conditionString, pattern) {
return conditionString + (conditionString ? '|' : '') + pattern;
}, '') + ')"';
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment