diff --git a/public/convert/index.html b/public/convert/index.html index 3d85c44..d44573e 100644 --- a/public/convert/index.html +++ b/public/convert/index.html @@ -31,7 +31,7 @@
-by Darius Kazemi, source code here
Put the full RSS feed URL in here, and pick a username for the account that will track the feed.
@@ -64,7 +64,7 @@ fetch(`/api/convert/?feed=${feed}&username=${username}`) // a feed exists in the database if (myJson.content) { // was it a match on feed - if (myJson.feed === feed) { + if (myJson.feed === decodeURIComponent(feed)) { console.log('feed match!'); out.innerHTML = `
This feed already exists! Follow @${myJson.username}@${domain}.
`; window.location = `/u/${myJson.username}`; @@ -85,6 +85,6 @@ fetch(`/api/convert/?feed=${feed}&username=${username}`) out.innerHTML = `Error: ${error}
`; }); } - +