Revert "Delete dronesController.ts"
This reverts commit 099600e79fabe2cc5eaf98aaa11fdc84ddce280b.
This commit is contained in:
parent
099600e79f
commit
0e198a7c3a
11
src/controllers/api/dronesController.ts
Normal file
11
src/controllers/api/dronesController.ts
Normal file
@ -0,0 +1,11 @@
|
||||
import { RequestHandler } from "express";
|
||||
|
||||
const dronesController: RequestHandler = (_req, res) => {
|
||||
res.writeHead(200, {
|
||||
"Content-Type": "text/html",
|
||||
"Content-Length": "3"
|
||||
});
|
||||
res.end(Buffer.from([0x7b, 0x7d, 0x0a]));
|
||||
};
|
||||
|
||||
export { dronesController };
|
Loading…
x
Reference in New Issue
Block a user