0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/server/middleware
Fabian Becker b15f1daf5a Throw 405 - Method not allowed for api routes
closes #2757
- New error MethodNotAllowed
- Throw 405 if valid path but invalid method is used is apiRouter
- Adds api base tests
2015-06-15 09:43:39 +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 Throw 405 - Method not allowed for api routes 2015-06-15 09:43:39 +01:00
middleware.js Ensure middleware functions are named 2015-06-02 14:49:18 +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