You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1078,6 +1083,12 @@ function compilePath(path, caseSensitive, end) {
33
+
@@ -1115,6 +1125,12 @@ function compilePath(path, caseSensitive, end) {
45
34
if (end === void 0) {
46
35
end = true;
47
36
}
@@ -54,7 +43,7 @@ index e634d45fee327b5f9ef63eee8dc1da39b07c79d4..ce1cf6c599e7efa82d51b63d26c0c92e
54
43
warning(path === "*" || !path.endsWith("*") || path.endsWith("/*"), "Route path \"" + path + "\" will be treated as if it were " + ("\"" + path.replace(/\*$/, "/*") + "\" because the `*` character must ") + "always follow a `/` in the pattern. To get rid of this warning, " + ("please change the route path to \"" + path.replace(/\*$/, "/*") + "\"."));
55
44
let params = [];
56
45
let regexpSource = "^" + path.replace(/\/*\*?$/, "") // Ignore trailing / and /*, we'll handle it below
57
-
@@ -1110,7 +1121,11 @@ function compilePath(path, caseSensitive, end) {
46
+
@@ -1147,7 +1163,11 @@ function compilePath(path, caseSensitive, end) {
58
47
regexpSource += "(?:(?=\\/|$))";
59
48
} else ;
60
49
let matcher = new RegExp(regexpSource, caseSensitive ? undefined : "i");
0 commit comments