Skip to content
Snippets Groups Projects
Commit b7a1c2cb authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Remove extra slash in url

parent 6eef087b
No related branches found
No related tags found
Loading
Checking pipeline status
...@@ -76,7 +76,7 @@ export class PageHeaderComponent implements OnInit { ...@@ -76,7 +76,7 @@ export class PageHeaderComponent implements OnInit {
case 'facebook': case 'facebook':
window.open( window.open(
// tslint:disable-next-line: max-line-length // tslint:disable-next-line: max-line-length
`https://www.facebook.com/sharer/sharer.php?u=${window.location.origin}/${APP_CONFIG.backendUrls.seo}/${this.pageInfo.shareButtons.matchingUriInSeoService}/${this._activatedRoute.snapshot.params.id}`, `https://www.facebook.com/sharer/sharer.php?u=${window.location.origin}${APP_CONFIG.backendUrls.seo}/${this.pageInfo.shareButtons.matchingUriInSeoService}/${this._activatedRoute.snapshot.params.id}`,
'popUpWindow', 'popUpWindow',
'height=400,width=600,left=10,top=10,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,status=yes', 'height=400,width=600,left=10,top=10,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,status=yes',
); );
...@@ -84,7 +84,7 @@ export class PageHeaderComponent implements OnInit { ...@@ -84,7 +84,7 @@ export class PageHeaderComponent implements OnInit {
case 'twitter': case 'twitter':
window.open( window.open(
// tslint:disable-next-line: max-line-length // tslint:disable-next-line: max-line-length
`https://twitter.com/intent/tweet?url=${window.location.origin}/${APP_CONFIG.backendUrls.seo}/${this.pageInfo.shareButtons.matchingUriInSeoService}/${this._activatedRoute.snapshot.params.id}&hashtags=datagrandlyon`, `https://twitter.com/intent/tweet?url=${window.location.origin}${APP_CONFIG.backendUrls.seo}/${this.pageInfo.shareButtons.matchingUriInSeoService}/${this._activatedRoute.snapshot.params.id}&hashtags=datagrandlyon`,
'popUpWindow', 'popUpWindow',
'height=400,width=600,left=10,top=10,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,status=yes', 'height=400,width=600,left=10,top=10,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,status=yes',
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment