mirror of
https://github.com/filecoin-project/slate.git
synced 2024-12-28 11:32:46 +03:00
12 lines
268 B
JavaScript
12 lines
268 B
JavaScript
import "isomorphic-fetch";
|
|
|
|
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: { slate: true } });
|
|
};
|