feat: strip hash and search params from web mention url

This commit is contained in:
Ayo Ayco 2025-02-21 18:45:09 +01:00
parent 7daf0320f9
commit 796bf5f113

View file

@ -117,6 +117,9 @@ export async function getMentions(url) {
let mentions = [];
let page = 0;
let perPage = 100;
// strip search params
url = url.split(/[?#]/)[0];
while (true) {
const results = await fetch(