diff --git a/api/resolvers/item.js b/api/resolvers/item.js index 382e449a..a45c032c 100644 --- a/api/resolvers/item.js +++ b/api/resolvers/item.js @@ -639,7 +639,7 @@ export default { }, dupes: async (parent, { url }, { me, models }) => { const urlObj = new URL(ensureProtocol(url)) - let uri = urlObj.hostname + urlObj.pathname + let uri = urlObj.hostname + '(:[0-9]+)?' + urlObj.pathname uri = uri.endsWith('/') ? uri.slice(0, -1) : uri const parseResult = parse(urlObj.hostname)