Ghost/core/frontend/apps/amp
Hannah Wolfe ce563179b8 🐛 Fixed infinite redirect for amp when disabled
fixes 10883

- fixed an issue where /amp/ pages would cause an infinite redirect loop
- this only occurred when amp was disabled, and query params were passed to the /amp/ url
- this fix resolves the issue by not assuming /amp/ is the end of the URL
- it also checks for `/amp/` (both slashes) and replaces one
2019-07-08 17:32:12 +01:00
..
lib Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
index.js 🐛 Fixed infinite redirect for amp when disabled 2019-07-08 17:32:12 +01:00