diff --git a/src/js/account/render.js b/src/js/account/render.js index c74b118..226b815 100644 --- a/src/js/account/render.js +++ b/src/js/account/render.js @@ -63,7 +63,7 @@ export function renderMakePublic() {
`; diff --git a/src/js/account/sync.js b/src/js/account/sync.js index 37bda23..01845b6 100644 --- a/src/js/account/sync.js +++ b/src/js/account/sync.js @@ -100,7 +100,7 @@ export function uploadWholeDictionary(asNew = false) { dictionary, }, remoteId => { window.currentDictionary.externalID = remoteId; - dictionary.getElementById('publicLink').value = window.location.href + remoteId.toString(); + dictionary.getElementById('publicLink').value = window.location.pathname + remoteId.toString(); saveDictionary(false); addMessage('Dictionary Uploaded Successfully'); renderChangeDictionaryOptions();