0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core
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
..
client@ea1def456d Updated Ghost-Admin to 1.0.0-alpha.9 2016-11-17 20:15:18 +00:00
server 🐛 re-order api middlewares: cors middleware before connect-slashes (#7861) 2017-01-18 17:36:47 +00:00
shared move private-blogging functionality into an internal app 2016-04-11 08:58:41 -05:00
test Make AMP optional (#7830) 2017-01-17 16:40:06 +01:00
index.js