0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/test/unit/web
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
..
admin Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
api Moved upload validation mw into api app 2020-04-22 07:37:02 +01:00
middleware Removed unused middleware code 2020-04-22 07:15:51 +01:00
parent Moved ghost-locals mw into parent app 2020-04-21 18:50:46 +01:00
shared/middleware Moved upload validation mw into api app 2020-04-22 07:37:02 +01:00
site/middleware Moved serve-public-file mw into site app 2020-04-21 17:23:07 +01:00