diff --git a/admin-dashboard.html b/admin-dashboard.html index 25edee2..e0d4102 100644 --- a/admin-dashboard.html +++ b/admin-dashboard.html @@ -741,7 +741,7 @@ console.log(key, value); } - const response = await fetch('/api/banner', { + const response = await fetch('/api/banner/update', { method: 'POST', body: formData // Don't set Content-Type header, let the browser set it with the correct boundary