mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-24 14:56:27 +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 } });
|
|
};
|