chore: Update translations
This commit is contained in:
parent
84bbc5fbef
commit
576c9a2b9e
@ -5,15 +5,18 @@ export const onRequest: PagesFunction<Env> = async context => {
|
||||
|
||||
const next = await context.next();
|
||||
try {
|
||||
const rsp = await fetch(`http://nostr.api.v0l.io/api/v1/opengraph/${id}?canonical=${encodeURIComponent("https://zap.stream/%s")}`, {
|
||||
method: "POST",
|
||||
body: await next.arrayBuffer(),
|
||||
headers: {
|
||||
"user-agent": "zap.stream/1.0 (https://zap.stream)",
|
||||
"content-type": "text/html",
|
||||
"accept": "text/html"
|
||||
},
|
||||
});
|
||||
const rsp = await fetch(
|
||||
`http://nostr.api.v0l.io/api/v1/opengraph/${id}?canonical=${encodeURIComponent("https://zap.stream/%s")}`,
|
||||
{
|
||||
method: "POST",
|
||||
body: await next.arrayBuffer(),
|
||||
headers: {
|
||||
"user-agent": "zap.stream/1.0 (https://zap.stream)",
|
||||
"content-type": "text/html",
|
||||
accept: "text/html",
|
||||
},
|
||||
}
|
||||
);
|
||||
if (rsp.ok) {
|
||||
const body = await rsp.text();
|
||||
if (body.length > 0) {
|
||||
|
@ -541,6 +541,6 @@
|
||||
"defaultMessage": "z.B. nsec1xyz"
|
||||
},
|
||||
"zVDHAu": {
|
||||
"defaultMessage": "Zap Alert"
|
||||
"defaultMessage": "Zap-Alarm"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user