Skip to content

Commit b35cbfe

Browse files
committed
chore: remove dynamic title and filename for PNG format
1 parent e377304 commit b35cbfe

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

api/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ async function readmeStats(req: any, res: any): Promise<any> {
126126
const pngBuffer = await resvg.render().asPng();
127127

128128
res.setHeader("Content-Type", "image/png");
129-
res.setHeader("Content-Disposition", `attachment; filename="${fetchStats.name}'s GitHub Stats.png"`);
130129
res.send(pngBuffer);
131130
} else {
132131
res.setHeader("Content-Type", "image/svg+xml");

0 commit comments

Comments
 (0)