SpaceNinjaServer/src/controllers/api/getFriendsController.ts
Ordis 96f945267a Revert "2 spaces tab, prettier command"
This reverts commit bd4ea5c94440304768883cae8169315ea15774f8.
2023-06-02 04:11:07 +02:00

13 lines
370 B
TypeScript

import { Request, Response } from "express";
export default (_request: Request, response: Response) => {
response.writeHead(200, {
//Connection: "keep-alive",
//"Content-Encoding": "gzip",
"Content-Type": "text/html",
// charset: "UTF - 8",
"Content-Length": "3"
});
response.end(Buffer.from([0x7b, 0x7d, 0x0a]));
};