update url to config.json

This commit is contained in:
Jonas Leder 2024-12-31 14:18:03 +00:00
commit b8993cd5e6

View file

@ -4,7 +4,7 @@ const configurationDiv = document.getElementById("configuration");
const commentDiv = document.getElementById("comment");
async function generatePage() {
const config = await (await fetch("https://jonasled.jonasled.dev/package-mirror/config.json")).json();
const config = await (await fetch("https://package-mirror-4bdcf5.jonasled.dev/config.json")).json();
config.forEach(category => {
let button = document.createElement("button");
button.innerText = category["name"]