Skip to content

Commit 2270a93

Browse files
authored
Add leading slash to share link (hashicorp-forge#120)
Update header.ts
1 parent 420840e commit 2270a93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/app/components/document/sidebar/header.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default class DocumentSidebarHeaderComponent extends Component<DocumentSi
2323
protected get url() {
2424
const shortLinkBaseURL = this.configSvc.config.short_link_base_url;
2525
return shortLinkBaseURL
26-
? `${shortLinkBaseURL + this.args.document.docType.toLowerCase()}/${
26+
? `/${shortLinkBaseURL + this.args.document.docType.toLowerCase()}/${
2727
this.args.document.docNumber
2828
}`
2929
: window.location.href;

0 commit comments

Comments
 (0)