Skip to content

Commit

Permalink
fix(ssr): construct canonical URL properly
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner committed Jun 14, 2024
1 parent 5bb7816 commit 952b13e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssr/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export default function render(
const buildHtml = readBuildHTML();
const rendered = renderToString(renderApp);

const canonicalURL = `${BASE_URL}{url}`;
const canonicalURL = `${BASE_URL}${url}`;

let pageDescription = "";
let escapedPageTitle = htmlEscape(pageTitle);
Expand Down

0 comments on commit 952b13e

Please sign in to comment.