This commit is contained in:
acalcutt 2025-01-04 00:42:11 -05:00
parent faf01d784f
commit 3517060488

View file

@ -69,7 +69,7 @@ export async function serve_font(options, allowedFonts, programOpts) {
console.error( console.error(
`Error serving font: %s/%s.pbf, Error: %s`, `Error serving font: %s/%s.pbf, Error: %s`,
fontstack, fontstack,
range, String(range),
String(err), String(err),
); );
return res return res
@ -77,7 +77,7 @@ export async function serve_font(options, allowedFonts, programOpts) {
.header('Content-Type', 'text/plain') .header('Content-Type', 'text/plain')
.send('Error serving font'); .send('Error serving font');
} }
}); });
/** /**
* Handles requests for a list of all available fonts. * Handles requests for a list of all available fonts.