Ghost/core
Rosco Kalis 3d8bf02a8d Redirected /amp links to original post when AMP is disabled (#9496)
closes #9495

- Added a clause for amp being disabled
- In this clause, we strip the final 'amp/' part of the url, and redirect
- Changed corresponding test in frontend_spec.js
- Used `urlService.utils.redirect301()` instead of `res.redirect()`
2018-03-19 16:11:48 +07:00
..
client@0aa5a8affd Updated Ghost-Admin to 1.21.5 2018-03-13 13:55:26 +00:00
server Redirected /amp links to original post when AMP is disabled (#9496) 2018-03-19 16:11:48 +07:00
test Redirected /amp links to original post when AMP is disabled (#9496) 2018-03-19 16:11:48 +07:00
index.js