Skip to content

Commit 8ae8aec

Browse files
author
Bart Veneman
committed
return http 200, remote http code in response
1 parent acd63e9 commit 8ae8aec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/v2/extract-css.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default async (req, res) => {
2727
return res.end(css)
2828
} catch (error) {
2929
if (error instanceof HttpError) {
30-
res.statusCode = error.statusCode
30+
res.statusCode = 200
3131
return res.json({
3232
url,
3333
statusCode: error.statusCode,

0 commit comments

Comments
 (0)