slate/pages/api/_.js
2020-08-19 11:17:12 -07:00

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 } });
};