Add files via upload

This commit is contained in:
Tomáš Dvořák
2025-05-26 13:55:25 +02:00
committed by GitHub
parent 433d7bca60
commit 7ee40ce0b1
+1 -1
View File
@@ -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