Skip to content

Commit ba2bc40

Browse files
authored
Fixed broken canonical link (#1117)
1 parent 562be09 commit ba2bc40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/webapp/app/shared/route/OncokbRoute.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function CanonicalLink({ routeProps }: CanonicalLinkProps) {
1212
linkNode.setAttribute('rel', 'canonical');
1313
linkNode.setAttribute(
1414
'href',
15-
`${location.protocol}${location.host}${canonicalEndpoint}`
15+
`${location.protocol}//${location.host}${canonicalEndpoint}`
1616
);
1717

1818
document.head.appendChild(linkNode);

0 commit comments

Comments
 (0)