mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
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 |
||
---|---|---|
.. | ||
api-error-handlers_spec.js | ||
cache-control_spec.js | ||
client-auth_spec.js | ||
decide-is-admin_spec.js | ||
spam-prevention_spec.js |