From 91629188d7e2810b4e7c9f767a69e91fcd532f87 Mon Sep 17 00:00:00 2001 From: jackyzha0 Date: Mon, 25 May 2020 22:25:35 -0700 Subject: add slash lmao --- frontend/src/components/modals/PasteModal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend/src') 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'); -- cgit v1.2.3