0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core/test/utils/mocks
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
..
express.js 🐛Fixed asset redirects (#9455) 2018-02-14 17:21:31 +01:00
index.js 🐛Fixed asset redirects (#9455) 2018-02-14 17:21:31 +01:00
utils.js improvement: add mocks helper module for test env 2016-06-10 09:23:00 +02:00