0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/server
Katharina Irrgang 4a4b2f62cc 🐛 re-order api middlewares: cors middleware before connect-slashes (#7861)
closes #7839

- when a browser sends a request to the API without a trailing slash, we are using connect-slashes to redirect permanently
- but because the CORS middleware was registered after the redirect, the CORS headers got lost
2017-01-18 17:36:47 +00:00
..
admin 🎨 public config endpoint (#7631) 2016-10-28 14:07:46 +01:00
api 🐛 re-order api middlewares: cors middleware before connect-slashes (#7861) 2017-01-18 17:36:47 +00:00
apps Make AMP optional (#7830) 2017-01-17 16:40:06 +01:00
auth Fix brute for token exchanges (#7725) 2016-11-17 14:02:56 +01:00
blog 💄 Improve URL consistency, Part 1: urlJoin (#7668) 2016-11-14 14:38:55 +00:00
config Replace memory spam prevention with brute-express (#7579) 2016-11-08 12:33:19 +01:00
controllers/frontend Make AMP optional (#7830) 2017-01-17 16:40:06 +01:00
data Make AMP optional (#7830) 2017-01-17 16:40:06 +01:00
events post-scheduling 2016-06-14 10:52:13 +02:00
helpers Make AMP optional (#7830) 2017-01-17 16:40:06 +01:00
logging 🎨 logging improvements (#7597) 2016-10-25 12:17:43 +01:00
mail 🎨 change how we get and set config 2016-09-20 15:59:34 +01:00
middleware chore(package): update uuid to version 3.0.0 (#7742) 2017-01-04 17:10:29 +01:00
models chore(package): update uuid to version 3.0.0 (#7742) 2017-01-04 17:10:29 +01:00
permissions Error creation (#7477) 2016-10-06 13:27:35 +01:00
scheduling Shows help message for broken require in scheduler adapter (#7706) 2017-01-16 21:49:41 +01:00
storage 💄 Improve URL consistency, Part 1: urlJoin (#7668) 2016-11-14 14:38:55 +00:00
themes 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
translations 🎨 invites roles table into a field on the invites table (#7705) 2016-11-16 09:33:44 +00:00
utils 💄 Improve URL consistency, Part 1: urlJoin (#7668) 2016-11-14 14:38:55 +00:00
views Switch to new native system font stack (#7219) 2016-08-18 20:29:46 +01:00
app.js 🎨 logging improvements (#7597) 2016-10-25 12:17:43 +01:00
errors.js chore(package): update uuid to version 3.0.0 (#7742) 2017-01-04 17:10:29 +01:00
filters.js
ghost-server.js Fixed incorrect promise fulfilled callback in ghost-server restart function. (#7831) 2017-01-10 00:18:23 +01:00
i18n.js
index.js chore(package): update uuid to version 3.0.0 (#7742) 2017-01-04 17:10:29 +01:00
overrides.js 🛠 update lodash,knex and bookshelf to latest versions 2016-09-26 10:20:55 +02:00
update-check.js replace auto increment id's by object id (#7495) 2016-11-17 09:09:11 +00:00