Skip to content

Commit

Permalink
Better project embed URL
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeseast committed Mar 12, 2024
1 parent 8626dc6 commit 38a690a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structure/project.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
},
},
});
Expand Down

0 comments on commit 38a690a

Please sign in to comment.