Ghost/core/server/web/api/v2/admin
Hannah Wolfe de9864db30 Moved upload validation mw into api app
- Moved upload validation mw from shared to api as it is not shared (except within the API)
- Co-located the code with the upload middleware, as it's small and gives us a nice API of .upload.single and .upload.validation
- This file is only used in one part of the app, this updates the code structure to reflect this
- This is one of many similar changes needed to make it easier to refactor to the existing setup
2020-04-22 07:37:02 +01:00
..
app.js Moved api cors mw into api app 2020-04-22 07:12:25 +01:00
middleware.js Moved update-user-last-seen mw into api app 2020-04-22 07:12:25 +01:00
routes.js Moved upload validation mw into api app 2020-04-22 07:37:02 +01:00