|
|
@@ -198,7 +198,7 @@ Deno.serve({ |
|
|
|
}); |
|
|
|
const ssrContext: DJSSRContext = { styles: {}, registry: {}, head: { title: "", metatags: [] } }; |
|
|
|
if (router) { |
|
|
|
await router.replace(pathname.split("/generative-energy")[1]); |
|
|
|
await router.replace(pathname.split('/' + baseDirectoryName)[1]); |
|
|
|
await router.isReady(); |
|
|
|
} |
|
|
|
const rendered = await renderToString(app, ssrContext); |
|
|
|