fix: Use POST for library status API call

This commit is contained in:
2025-12-10 14:40:16 +00:00
parent 79cf24cb8c
commit 4f28dfbc11
4 changed files with 15 additions and 3 deletions

Binary file not shown.

View File

@@ -1,4 +1,4 @@
Adastra VTL Installer
Version: 1.0.0
Build Date: 2025-12-10 14:36:24
Build Date: 2025-12-10 14:40:16
Build Host: vtl-dev

View File

@@ -1959,7 +1959,13 @@ function loadLibraryStatus() {
container.style.display = 'none';
errorEl.style.display = 'none';
fetch('api.php?action=library_status')
fetch('api.php', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({ action: 'library_status' })
})
.then(response => response.json())
.then(data => {
loading.style.display = 'none';

View File

@@ -1959,7 +1959,13 @@ function loadLibraryStatus() {
container.style.display = 'none';
errorEl.style.display = 'none';
fetch('api.php?action=library_status')
fetch('api.php', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({ action: 'library_status' })
})
.then(response => response.json())
.then(data => {
loading.style.display = 'none';