mirror of
https://github.com/idolpx/csdb-ng.git
synced 2025-12-05 20:28:49 -05:00
Update app.js
This commit is contained in:
parent
f31dbc445a
commit
3bdc622118
|
|
@ -1,4 +1,4 @@
|
|||
const GRAPHQL_URL = 'http://localhost:3000/';
|
||||
const GRAPHQL_URL = 'https://csdb.idolpx.com/';
|
||||
|
||||
async function getRelease(id) {
|
||||
const response = await fetch(GRAPHQL_URL, {
|
||||
|
|
@ -126,4 +126,4 @@ getRelease(1).then((release) => {
|
|||
title.textContent = release.Name;
|
||||
const screenshot = document.querySelector('img');
|
||||
screenshot.src = release.ScreenShot;
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user