Skip to content
This repository was archived by the owner on Jul 28, 2026. It is now read-only.

Commit 696f63c

Browse files
committed
fix: use jsDelivr for icon list fetch (CSP compatible)
1 parent 69e270e commit 696f63c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

public/js/admin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async function loadSimpleIcons() {
3030

3131
_simpleIconsLoading = (async () => {
3232
try {
33-
const res = await fetch('https://raw.githubusercontent.com/simple-icons/simple-icons/develop/slugs.md');
33+
const res = await fetch('https://cdn.jsdelivr.net/npm/simple-icons@latest/slugs.md');
3434
const text = await res.text();
3535
const icons = [];
3636
const re = /\|\s*`([^`]+)`\s*\|\s*`([^`]+)`\s*\|/g;

0 commit comments

Comments
 (0)