File size: 232 Bytes
11acfd9
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import type { RequestHandler } from "express";
import createHttpError from "http-errors";

const notFoundHandler: RequestHandler = (req, res, next) => {
  return next(createHttpError.NotFound());
};

export default notFoundHandler;