From 38a690a3d1e12f3601e33a14b963c7e1ca250d0f Mon Sep 17 00:00:00 2001 From: Chris Amico Date: Tue, 12 Mar 2024 13:10:38 -0400 Subject: [PATCH] Better project embed URL --- src/structure/project.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structure/project.js b/src/structure/project.js index 6ec9ec6a6..ba04b63c8 100644 --- a/src/structure/project.js +++ b/src/structure/project.js @@ -40,7 +40,7 @@ export class Project extends Svue { return project.add_remove_access; }, embedUrl(slugId) { - return `${APP_URL}projects/${slugId}/`; + return new URL(`projects/${slugId}`, APP_URL).toString(); }, }, });