0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/server/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.js Improve API error handling 2015-06-15 10:08:30 +01:00
auth-strategies.js Ensure middleware functions are named 2015-06-02 14:49:18 +01:00
cache-control.js Ensure middleware functions are named 2015-06-02 14:49:18 +01:00
client-auth.js splitting client authentication-related middleware in to its own file 2015-05-31 12:35:03 -04:00
decide-is-admin.js Moves the decideIsAdmin into its own file. 2015-06-09 14:02:22 -07:00
ghost-busboy.js Ensure middleware functions are named 2015-06-02 14:49:18 +01:00
index.js Improve API error handling 2015-06-15 10:08:30 +01:00
middleware.js Improve API error handling 2015-06-15 10:08:30 +01:00
oauth.js Ensure middleware functions are named 2015-06-02 14:49:18 +01:00
spam-prevention.js Ensure middleware functions are named 2015-06-02 14:49:18 +01:00