(request, response)
| 16 | const cacheDefaultConfiguration = 86400; |
| 17 | |
| 18 | const onNoMatch = (request, response) => { |
| 19 | return response.status(404).json({ |
| 20 | message: 'Page not found.', |
| 21 | type: 'not_found', |
| 22 | name: 'NotFoundError', |
| 23 | }); |
| 24 | }; |
| 25 | |
| 26 | const app = (options = {}) => { |
| 27 | const corsOptions = options.cors || {}; |
nothing calls this directly
no outgoing calls
no test coverage detected