mirror of
https://github.com/zumbiepig/MineXLauncher.git
synced 2025-06-08 03:54:48 +00:00
final
This commit is contained in:
parent
4cfe54f5f1
commit
bfb131d4ea
@ -628,9 +628,8 @@ if (window.location.pathname === '/settings/') {
|
||||
} else if (window.location.pathname === '/updates/') {
|
||||
document.addEventListener('DOMContentLoaded', async () => {
|
||||
const updatesContainer = document.querySelector('.updates-container');
|
||||
const data: { version: string; changelog: string[] }[] = (
|
||||
await (await fetch('/resources/data/main.json')).json()
|
||||
).updates;
|
||||
const data: { version: string; changelog: string[] }[] = (await (await fetch('/resources/data/main.json')).json())
|
||||
.updates;
|
||||
data.forEach((update) => {
|
||||
const version = document.createElement('div');
|
||||
const name = document.createElement('strong');
|
||||
|
Loading…
x
Reference in New Issue
Block a user