mirror of
https://github.com/wassname/talk.git
synced 2026-07-29 11:28:24 +08:00
6 lines
150 B
TypeScript
6 lines
150 B
TypeScript
import { RequestHandler } from "express";
|
|
|
|
export const notFoundMiddleware: RequestHandler = (req, res, next) => {
|
|
next(new Error("not found"));
|
|
};
|