0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/test/unit/middleware
Hannah Wolfe 254e0f0597 Improve API error handling
close #2757, refs #5286

- moves error formatting from api/index into errors lib
- moves error handling from api/index into its own middleware
- adds extra middleware for method not allowed which captures all unsupported routes
2015-06-15 10:08:30 +01:00
..
api-error-handlers_spec.js Improve API error handling 2015-06-15 10:08:30 +01:00
cache-control_spec.js Cache control for private blogs 2015-05-20 21:44:42 +01:00
client-auth_spec.js Improve API error handling 2015-06-15 10:08:30 +01:00
decide-is-admin_spec.js Improve API error handling 2015-06-15 10:08:30 +01:00
spam-prevention_spec.js Move the spam prevention into its own file. 2015-05-29 08:59:29 -07:00