Ghost/core/server/middleware
Katharina Irrgang 88eab9898c Moved fetching client out of our ghost_head helper (#9180)
refs #8995

- move the getClient lookup from ghost_head into middleware
- use res.locals to keep track of the information (res.locals.client)
- make the middleware global to all frontend routes
- ghost_head: get locals from options.data not this (!)
- adapt lot's of tests
2017-10-26 12:03:53 +02:00
..
api Brute store error is an internal server error (#9092) 2017-10-04 10:02:22 +01:00
validation
brute.js
cache-control.js
custom-redirects.js Allow Upload/Download of redirects.json (#9029) 2017-09-21 16:01:03 +01:00
error-handler.js 🐛 HTML page error: correct templateData (#9144) 2017-10-13 14:26:42 +01:00
frontend-client.js Moved fetching client out of our ghost_head helper (#9180) 2017-10-26 12:03:53 +02:00
ghost-locals.js
labs.js
log-request.js Added request id header (#9122) 2017-10-09 14:48:32 +02:00
maintenance.js
pretty-urls.js Always use our redirects utility (#9132) 2017-10-12 14:36:50 +02:00
serve-favicon.js
serve-public-file.js
static-theme.js
uncapitalise.js Always use our redirects utility (#9132) 2017-10-12 14:36:50 +02:00
url-redirects.js Always use our redirects utility (#9132) 2017-10-12 14:36:50 +02:00