0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/web/shared/middlewares
kirrg001 987e41e8d6 Attached api version to res.locals context
refs #9866

- each request get's the ghost api version attached
- this makes it possible to access the version in all steps (routing, theme helpers)
2018-10-18 19:41:07 +02:00
..
api Refactored how we require shared middlewares from web/ (#9893) 2018-09-21 16:17:11 +05:30
image
validation Added new endpoint to upload square profile images with dimension validation (#9862) 2018-09-24 21:42:58 +02:00
admin-redirects.js
brute.js
cache-control.js
custom-redirects.js Optimised web/ debug logs 2018-10-04 17:43:08 +02:00
error-handler.js
frontend-client.js
ghost-locals.js Attached api version to res.locals context 2018-10-18 19:41:07 +02:00
index.js Refactored how we require shared middlewares from web/ (#9893) 2018-09-21 16:17:11 +05:30
labs.js
log-request.js
maintenance.js
pretty-urls.js
serve-favicon.js
serve-public-file.js Refactored method urlFor to use versionType instead of admin: true 2018-10-04 16:49:55 +05:30
static-theme.js
uncapitalise.js
url-redirects.js Optimised web/ debug logs 2018-10-04 17:43:08 +02:00