File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/theme/DocItem/Metadata Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ const config: Config = {
196
196
plugins : [ "docusaurus-plugin-sass" , "./src/plugins/configure-svgo.ts" ] ,
197
197
198
198
customFields : {
199
- canonicalBaseUrl : "https://www. telepresence.io" ,
199
+ canonicalBaseUrl : "https://telepresence.io" ,
200
200
}
201
201
} ;
202
202
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ type Props = WrapperProps<typeof MetadataType>;
12
12
export default function MetadataWrapper ( props : Props ) : JSX . Element {
13
13
const { siteConfig : { customFields} } = useDocusaurusContext ( )
14
14
const { pathname } = useLocation ( ) ;
15
- const canonical = `${ customFields [ 'canonicalBaseUrl' ] } ${ pathname } `
15
+ const canonical = `${ customFields [ 'canonicalBaseUrl' ] } ${ pathname . replace ( / \/ $ / , "" ) } `
16
16
17
17
return (
18
18
< >
You can’t perform that action at this time.
0 commit comments