0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-10 23:39:31 -05:00
verdaccio/packages/api/src/ping.ts

13 lines
309 B
TypeScript
Raw Normal View History

import { Router } from 'express';
import { $NextFunctionVer, $RequestExtend, $ResponseExtend } from '../types/custom';
2018-03-10 21:09:04 +01:00
export default function (route: Router): void {
route.get(
'/-/ping',
function (req: $RequestExtend, res: $ResponseExtend, next: $NextFunctionVer) {
next({});
}
);
2018-03-10 21:09:04 +01:00
}