1
0
Fork 0
mirror of https://github.com/kou029w/chirimen-hands-on.git synced 2025-04-06 05:26:23 +00:00

use default cdn

maxcdn → jsdelivr
This commit is contained in:
Nebel 2023-01-14 15:59:40 +09:00
parent c42ad2d043
commit 0dd22b9f32

View file

@ -332,12 +332,4 @@ document.querySelectorAll("a").forEach(function (a) {
rel: "noreferrer",
});
});
document.querySelectorAll("img").forEach(function (img) {
Object.assign(img, {
src: img.src.replace(
/^https:[/][/]twemoji[.]maxcdn[.]com[/]v[/][0-9.]+/,
"https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/"
),
});
});
</script>