11 lines
142 B
TypeScript
11 lines
142 B
TypeScript
import { Context } from "hono";
|
|
|
|
export const notFoundRoute = (c: Context) => {
|
|
return c.json(
|
|
{
|
|
message: "Not Found"
|
|
},
|
|
404
|
|
);
|
|
};
|