Skip to content
This repository was archived by the owner on Jul 23, 2024. It is now read-only.

Commit dc3f741

Browse files
author
Matteus
committed
Modified headers
1 parent dc6fca0 commit dc3f741

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ server.get("/", async (req, res) => {
6464

6565
//@ts-ignore
6666
const svg = makeBadge(format);
67-
67+
res.setHeader("Content-Type", "image/svg+xml; charset=utf-8");
6868
return res.send(svg);
6969
});
7070

0 commit comments

Comments
 (0)