t3-code-android-nightly/.repos/alchemy-effect/patches/@astrojs%2Fstarlight@0.42.0.patch
Julius Marminge e3c85ead63
chore(refs): sync Effect and Alchemy references to rc.115 and beta.78 (#12327)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-09-17 23:21:25 -07:00

16 lines
685 B
Diff

diff --git a/dist/utils/routing/index.js b/dist/utils/routing/index.js
--- a/dist/utils/routing/index.js
+++ b/dist/utils/routing/index.js
@@ -72,7 +72,11 @@
return routesBySlugParam.get(slugParam?.replace(/\/$/, "") || void 0);
}
function getPaths() {
- return routes.map((route) => ({ params: { slug: slugToParam(route.id) } }));
+ const blogCacheKey = routes.filter((route) => route.id.startsWith("blog/")).map((route) => route.entry.digest).join(":");
+ return routes.map((route) => ({
+ params: { slug: slugToParam(route.id) },
+ cacheKey: route.id.startsWith("blog/") ? `${route.entry.digest}:${blogCacheKey}` : route.entry.digest
+ }));
}
const paths = getPaths();
/**