fix: Use POST for library status API call
This commit is contained in:
BIN
dist/adastra-vtl-installer-1.0.0.tar.gz
vendored
BIN
dist/adastra-vtl-installer-1.0.0.tar.gz
vendored
Binary file not shown.
2
dist/adastra-vtl-installer/VERSION
vendored
2
dist/adastra-vtl-installer/VERSION
vendored
@@ -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
|
||||
|
||||
8
dist/adastra-vtl-installer/web-ui/script.js
vendored
8
dist/adastra-vtl-installer/web-ui/script.js
vendored
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user