From 7ee40ce0b13e5aaddce77070ddce8b67cb25b060 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Dvo=C5=99=C3=A1k?= <150935816+Dvorinka@users.noreply.github.com> Date: Mon, 26 May 2025 13:55:25 +0200 Subject: [PATCH] Add files via upload --- admin-dashboard.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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