mirror of
https://github.com/Dvorinka/PPve.git
synced 2026-06-05 04:52:58 +00:00
Add files via upload
This commit is contained in:
@@ -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