diff --git a/client/lib/getHashFromURL.js b/client/lib/getHashFromURL.js index 8fea2ce5..89f1d452 100644 --- a/client/lib/getHashFromURL.js +++ b/client/lib/getHashFromURL.js @@ -1,7 +1,7 @@ function getHashFromURL(url, type) { const split = url.split(`/${type}/`); - return split[1].split('.')[0]; + return split[1].split('/')[1].split('.')[0]; } module.exports = getHashFromURL; \ No newline at end of file