forked from OpenWF/SpaceNinjaServer
17 lines
677 B
TypeScript
17 lines
677 B
TypeScript
import { RequestHandler } from "express";
|
|
|
|
const marketRecommendationsController: RequestHandler = (_req, res) => {
|
|
const data = Buffer.from([
|
|
0x7b, 0x22, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x3a, 0x7b, 0x22, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x64, 0x22,
|
|
0x3a, 0x5b, 0x5d, 0x2c, 0x22, 0x50, 0x6f, 0x70, 0x75, 0x6c, 0x61, 0x72, 0x22, 0x3a, 0x5b, 0x5d, 0x7d, 0x7d
|
|
]);
|
|
res.writeHead(200, {
|
|
"Content-Type": "text/html",
|
|
"Content-Length": data.length
|
|
});
|
|
res.end(data);
|
|
};
|
|
|
|
export { marketRecommendationsController };
|