codeql
This commit is contained in:
parent
faf01d784f
commit
3517060488
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue