diff --git a/admin.js b/admin.js index ff1045f..6aae5cb 100644 --- a/admin.js +++ b/admin.js @@ -77,7 +77,7 @@ document.addEventListener('DOMContentLoaded', () => { } ]; - fetch('http://localhost:3050/api/update-status', { + fetch('/api/update-status', { method: 'POST', headers: { 'Content-Type': 'application/json',