aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Kuznetsov <evgeny@kuznetsov.md>2022-12-02 15:10:04 +0300
committerEvgeny Kuznetsov <evgeny@kuznetsov.md>2022-12-02 15:10:04 +0300
commite544d2ca7c9a12fc21a4bcf80b22449a97ee47ce (patch)
tree1080da01188094e66057f64f1a8bcb5f0d09e4a0
parent64402ae947df8ca23271b8495586491793559afe (diff)
downloadhovercard.js-e544d2ca7c9a12fc21a4bcf80b22449a97ee47ce.tar.gz
hovercard.js-e544d2ca7c9a12fc21a4bcf80b22449a97ee47ce.zip
fix: use generic indieweb-glue endpoint
-rw-r--r--hovercard.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/hovercard.js b/hovercard.js
index a4b7506..a7f2c6d 100644
--- a/hovercard.js
+++ b/hovercard.js
@@ -66,7 +66,7 @@ var hovercards = {
hovercards[url] = {"description": desc}
}
} else {
- let req = 'https://indieweb-glue.evgenykuznetsov.org/api/opengraph?url=';
+ let req = 'https://indieweb-glue.evgenykuznetsov.org/api/pageinfo?url=';
req += url;
const r = encodeURI(req);
var xmlhttp = new XMLHttpRequest();