Ghost/core/server/web/middleware
Katharina Irrgang 58157b1411
🐛Fixed asset redirects (#9455)
closes #9445

- redirects all asset requests if https is configured (theme, core, images)
- re-use and extend our url-redirect middleware
- add proper integration tests for our express site app (no db interaction, component testing required for such important use cases)
- i added some more general tests
- should avoid mixed content warnings in the browser
2018-02-14 17:21:31 +01:00
..
api Extended ghost version utility (#9278) 2018-01-03 20:20:18 +01:00
validation Burn dirty require of api utils 2017-12-14 21:25:51 +01:00
admin-redirects.js Moved utils/url.js to UrlService 2017-12-11 20:05:33 +01:00
brute.js Moved apps into web folder (#9308) 2017-12-06 17:37:54 +01:00
cache-control.js Moved apps into web folder (#9308) 2017-12-06 17:37:54 +01:00
custom-redirects.js Moved validateRedirects helper to data/validation 2017-12-14 11:55:10 +01:00
error-handler.js Fixed bad references to common.i18n (#9402) 2018-01-17 17:28:42 +01:00
frontend-client.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
ghost-locals.js Moved ghost-version to lib 2017-12-14 22:14:55 +01:00
labs.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
log-request.js Import lib/common only 2017-12-12 10:28:13 +01:00
maintenance.js Import lib/common only 2017-12-12 10:28:13 +01:00
pretty-urls.js Moved apps into web folder (#9308) 2017-12-06 17:37:54 +01:00
serve-favicon.js Moved image utils to lib/image 2017-12-14 20:46:53 +01:00
serve-public-file.js Always require fs-extra - consistency change 2017-12-13 20:57:11 +01:00
static-theme.js Moved utils constants to lib/constants 2017-12-14 14:13:40 +01:00
uncapitalise.js Moved removeOpenRedirectFromUrl to local web utils 2017-12-13 22:06:31 +01:00
url-redirects.js 🐛Fixed asset redirects (#9455) 2018-02-14 17:21:31 +01:00