@timber-js/app 0.2.0-alpha.107 → 0.2.0-alpha.108
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/dist/server/internal.js
CHANGED
|
@@ -1869,6 +1869,7 @@ async function handleRequest(config, req, method, path) {
|
|
|
1869
1869
|
}
|
|
1870
1870
|
}
|
|
1871
1871
|
let match = config.matchRoute(canonicalPathname);
|
|
1872
|
+
if (process.env.NODE_ENV !== "production") console.error(`[timber:route-debug] pathname=${canonicalPathname} matched=${!!match}` + (match ? ` segments=[${match.segments.map((s) => s.segmentName).join(" → ")}] leaf-has-page=${!!match.segments[match.segments.length - 1]?.page}` : ""));
|
|
1872
1873
|
let interception;
|
|
1873
1874
|
const sourceUrl = req.headers.get("X-Timber-URL");
|
|
1874
1875
|
if (sourceUrl && config.interceptionRewrites?.length) {
|