Ghost/core/server/apps/amp
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
..
lib 🐛Fixed data-* attributes from being stripped in AMP HTML (#9501) 2018-03-16 09:45:07 +07:00
index.js Redirected /amp links to original post when AMP is disabled (#9496) 2018-03-19 16:11:48 +07:00