(req: any, res: any)
| 41 | }; |
| 42 | |
| 43 | const handle = (req: any, res: any) => { |
| 44 | req.url = fixPath(req.url); |
| 45 | staticFile(req, res, () => { |
| 46 | router(req, res, () => { |
| 47 | notFound(req, res, () => {}); |
| 48 | }); |
| 49 | }); |
| 50 | }; |
| 51 | |
| 52 | return { fixPath, router, staticFile, notFound, handle }; |
| 53 | } catch (err: any) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…