aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/modals
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/modals')
-rw-r--r--frontend/src/components/modals/PasteModal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/components/modals/PasteModal.js b/frontend/src/components/modals/PasteModal.js
index 243cdcd..7b28abb 100644
--- a/frontend/src/components/modals/PasteModal.js
+++ b/frontend/src/components/modals/PasteModal.js
@@ -18,7 +18,7 @@ const modalStyles = {
const PasteModal = (props) => {
const history = useHistory();
- const fullURL = `${window.location.origin}${props.hash}`;
+ const fullURL = `${window.location.origin}/${props.hash}`;
const clipboard = useClipboard({ copiedTimeout: 3000 });
Modal.setAppElement('body');