diff options
| author | jackyzha0 <[email protected]> | 2020-05-25 22:25:35 -0700 |
|---|---|---|
| committer | jackyzha0 <[email protected]> | 2020-05-25 22:25:35 -0700 |
| commit | 91629188d7e2810b4e7c9f767a69e91fcd532f87 (patch) | |
| tree | 8e40696cfcaa376c966a7424e587fa83d3681e5a | |
| parent | use origin instead (diff) | |
| download | ctrl-v-91629188d7e2810b4e7c9f767a69e91fcd532f87.tar.xz ctrl-v-91629188d7e2810b4e7c9f767a69e91fcd532f87.zip | |
add slash lmao
| -rw-r--r-- | frontend/src/components/modals/PasteModal.js | 2 |
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'); |