mirror of
https://github.com/dariusk/rss-to-activitypub.git
synced 2024-11-22 17:29:19 +02:00
Merge branch 'master' of https://github.com/dariusk/rss-to-activitypub
This commit is contained in:
commit
64bd0057fd
|
@ -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 = `<p>This feed already exists! Follow @${myJson.username}@${domain}.</p>`;
|
||||
window.location = `/u/${myJson.username}`;
|
||||
|
|
Loading…
Reference in New Issue