mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-19 04:00:38 +09:00
12 lines
189 B
TypeScript
12 lines
189 B
TypeScript
|
|
import { Router } from "express";
|
||
|
|
|
||
|
|
export function healthRoutes() {
|
||
|
|
const router = Router();
|
||
|
|
|
||
|
|
router.get("/", (_req, res) => {
|
||
|
|
res.json({ status: "ok" });
|
||
|
|
});
|
||
|
|
|
||
|
|
return router;
|
||
|
|
}
|