From 663ff4c8dac594bdb76943c0d47a4ae2166fd081 Mon Sep 17 00:00:00 2001 From: Scott Bishel Date: Wed, 18 Aug 2021 11:44:21 -0600 Subject: [PATCH] GH-989 add boards to shared component link (#1023) * add boards to shared component link * use Utils.getFronendBaseURL --- webapp/src/components/shareBoardComponent.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/src/components/shareBoardComponent.tsx b/webapp/src/components/shareBoardComponent.tsx index 31f145ea8..911e071fc 100644 --- a/webapp/src/components/shareBoardComponent.tsx +++ b/webapp/src/components/shareBoardComponent.tsx @@ -76,7 +76,8 @@ const ShareBoardComponent = React.memo((props: Props): JSX.Element => { shareUrl.searchParams.set('r', readToken) if (match.params.workspaceId) { - const newPath = generatePath('/workspace/:workspaceId/shared/:boardId/:viewId', { + const newPath = generatePath(':basename/workspace/:workspaceId/shared/:boardId/:viewId', { + basename: Utils.getFrontendBaseURL(), boardId: match.params.boardId, viewId: match.params.viewId, workspaceId: match.params.workspaceId,