MCPcopy Index your code
hub / github.com/makeplane/plane / setupNotFoundHandler

Method setupNotFoundHandler

apps/live/src/server.ts:83–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81 }
82
83 private setupNotFoundHandler() {
84 this.app.use((_req: Request, res: Response) => {
85 res.status(404).json({
86 message: "Not Found",
87 });
88 });
89 }
90
91 private setupRoutes(hocuspocusServer: Hocuspocus) {
92 CONTROLLERS.forEach((controller) => registerController(this.router, controller, [hocuspocusServer]));

Callers 1

initializeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected