From 8b08c6616c9e4856c3f0a305bbfbc8803842dd46 Mon Sep 17 00:00:00 2001 From: Jan Klattenhoff Date: Tue, 21 Jan 2025 11:47:04 +0100 Subject: [PATCH] feat(dashboard): update getShortLink to use HTTPS --- src/app/dashboard/dashboard.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/dashboard/dashboard.component.ts b/src/app/dashboard/dashboard.component.ts index 428b89f..eac1c28 100644 --- a/src/app/dashboard/dashboard.component.ts +++ b/src/app/dashboard/dashboard.component.ts @@ -25,7 +25,7 @@ export class DashboardComponent { } getShortLink(id: string): string { - return window.location.hostname + '/' + id; + return "https://" + window.location.hostname + '/' + id; } ngOnInit(): void {