hotfix: identificación de la aplicación para Open Library
Deploy Function / deploy (push) Successful in 26s
Deploy Migrations to Production / deploy (push) Successful in 11s

This commit is contained in:
2026-03-09 17:16:12 -06:00
parent 2823c81052
commit 5958ec15d2
@@ -225,7 +225,12 @@ Deno.serve(async (req: Request): Promise<Response> => {
const [googleResp, openLibraryResp] = await Promise.all([
fetch(googleUrl, { headers: { Accept: "application/json" } }),
fetch(openLibraryUrl, { headers: { Accept: "application/json" } }),
fetch(openLibraryUrl, {
headers: {
Accept: "application/json",
"User-Agent": "Acad-IA info.ingenieria.lci@gmail.com",
},
}),
]);
if (!googleResp.ok) {