Desktop: MCP: Return correct API response type (#16144)

This commit is contained in:
Henry Heino authored and GitHub committed 2026-08-06 22:54:09 +02:00
1 parent 391cdf7f15
commit 6e8fc6cd75
1 file changed
+1 -1
+1 -1
View File
@@ -150,7 +150,7 @@ export default class ClipperServer {
};
const writeResponseJson = (code: number, object: unknown) => {
writeCorsHeaders(code);
writeCorsHeaders(code, 'application/json');
response.write(JSON.stringify(object));
response.end();
};