Closed maximzhurkin closed 11 months ago
Thats already included, there is a hint in line 137 in the index.ts
Example
{
pattern: '/api/test1/1',
handle: (req, res) => {
res.statusCode = 404
res.end('Hello world!' + req.url)
}
},
please add ability to set status code for responses