Update upload.js
This commit is contained in:
parent
286a3e36d9
commit
cd7db67d44
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ export async function onRequest(context) {
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
'User-Agent': 'Mozilla/5.0',
|
'User-Agent': 'Mozilla/5.0',
|
||||||
Origin: 'https://your-domain.com',
|
Origin: 'https://imgur.gg',
|
||||||
},
|
},
|
||||||
body: JSON.stringify(metadataPayload),
|
body: JSON.stringify(metadataPayload),
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue