mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-10 23:39:31 -05:00
* #2606 add prettier plugin sort imprts * #2606 update pnpm-lock.yaml * #2606 update eslint rules * #2606 fixes website directory formatting Co-authored-by: Ayush Sharma <ayush.sharma@trivago.com>
12 lines
309 B
TypeScript
12 lines
309 B
TypeScript
import { Router } from 'express';
|
|
|
|
import { $NextFunctionVer, $RequestExtend, $ResponseExtend } from '../types/custom';
|
|
|
|
export default function (route: Router): void {
|
|
route.get(
|
|
'/-/ping',
|
|
function (req: $RequestExtend, res: $ResponseExtend, next: $NextFunctionVer) {
|
|
next({});
|
|
}
|
|
);
|
|
}
|