This commit is contained in:
anto
2025-01-08 16:44:39 +01:00
parent e60f704518
commit 2de78999f7
8 changed files with 77 additions and 20 deletions

View File

@@ -1,5 +1,4 @@
// Global variables
let api_url = "https://timelapse.kerboul.me/api";
let global_project_list;
let current_project = "";
@@ -22,7 +21,7 @@ function formatDate(isoString) {
function getDataProjectFromApi() {
return $.ajax({
url: api_url.concat("/itemsdb"),
url: api_url.concat("/projects"),
method: "GET",
dataType: "json",
}).then((data) => {