mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-10 13:14:04 +03:00
12 lines
248 B
JavaScript
12 lines
248 B
JavaScript
import * as MW from "~/node_common/middleware";
|
|
|
|
const initCORS = MW.init(MW.CORS);
|
|
|
|
export default async (req, res) => {
|
|
initCORS(req, res);
|
|
|
|
return res
|
|
.status(200)
|
|
.json({ decorator: "SERVER_HEALTH_CHECK", data: req.body.data });
|
|
};
|