bug: use custom ua
This commit is contained in:
parent
7b9bbc4ad5
commit
723589fec7
@ -10,7 +10,7 @@ export const onRequest: PagesFunction<Env> = async (context) => {
|
||||
method: "POST",
|
||||
body: await next.arrayBuffer(),
|
||||
headers: {
|
||||
...context.request.headers,
|
||||
"user-agent": "Snort-Functions/1.0 (https://snort.social)",
|
||||
"content-type": "text/plain"
|
||||
}
|
||||
});
|
||||
|
@ -10,7 +10,7 @@ export const onRequest: PagesFunction<Env> = async (context) => {
|
||||
method: "POST",
|
||||
body: await next.arrayBuffer(),
|
||||
headers: {
|
||||
...context.request.headers,
|
||||
"user-agent": "Snort-Functions/1.0 (https://snort.social)",
|
||||
"content-type": "text/plain"
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user