MCPcopy
hub / github.com/anomalyco/models.dev / getRenderedPage

Function getRenderedPage

packages/web/src/render.tsx:138–140  ·  view source on GitHub ↗
(pathname: string)

Source from the content-addressed store, hash-verified

136}
137
138export function getRenderedPage(pathname: string) {
139 return RenderedPages.get(normalizeRoute(pathname));
140}
141
142export function renderDocument(template: string, page: RenderedPage) {
143 return template

Callers 1

fetchFunction · 0.90

Calls 1

normalizeRouteFunction · 0.85

Tested by

no test coverage detected