vinext 0.0.17 → 0.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +137 -9
- package/dist/config/config-matchers.d.ts.map +1 -1
- package/dist/config/config-matchers.js +5 -1
- package/dist/config/config-matchers.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +23 -1
- package/dist/index.js.map +1 -1
- package/dist/server/app-dev-server.js +1 -1
- package/dist/server/app-dev-server.js.map +1 -1
- package/dist/shims/headers.d.ts.map +1 -1
- package/dist/shims/headers.js +4 -1
- package/dist/shims/headers.js.map +1 -1
- package/package.json +1 -1
|
@@ -899,7 +899,7 @@ ${generateNormalizePathCode("modern")}
|
|
|
899
899
|
|
|
900
900
|
// ── Config pattern matching (redirects, rewrites, headers) ──────────────
|
|
901
901
|
function __matchConfigPattern(pathname, pattern) {
|
|
902
|
-
if (pattern.includes("(") || pattern.includes("\\\\") || /:[\\w-]+[*+][^/]/.test(pattern)) {
|
|
902
|
+
if (pattern.includes("(") || pattern.includes("\\\\") || /:[\\w-]+[*+][^/]/.test(pattern) || /:[\\w-]+\\./.test(pattern)) {
|
|
903
903
|
try {
|
|
904
904
|
const paramNames = [];
|
|
905
905
|
const regexStr = pattern
|