We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 741dd09 commit 7512a99Copy full SHA for 7512a99
client/src/components/modals/generate-public-link-modal.tsx
@@ -80,7 +80,7 @@ export const GeneratePublicLinkModal = memo<GeneratePublicLinkModalProps>(
80
throw new Error(response.message || 'Failed to generate link');
81
}
82
83
- const link = `${window.location.origin}/link?code=${response.code}`;
+ const link = `${import.meta.env.BASE_URL}/link?code=${response.code}`;
84
setGeneratedLink(link);
85
86
addToast({
0 commit comments