mirror of
https://github.com/Dvorinka/PPve.git
synced 2026-10-28 07:41:21 +00:00
Add files via upload
This commit is contained in:
1 parent
433d7bca60
commit
7ee40ce0b1
1 file changed
+1
-1
@@ -741,7 +741,7 @@
|
|||||||
console.log(key, value);
|
console.log(key, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
const response = await fetch('/api/banner', {
|
const response = await fetch('/api/banner/update', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
body: formData
|
body: formData
|
||||||
// Don't set Content-Type header, let the browser set it with the correct boundary
|
// Don't set Content-Type header, let the browser set it with the correct boundary
|
||||||
|
|||||||
Reference in new issue
Block a user