0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/test/regression/site
Nazar Gargol 4876f5fc13 Fixed AMP test for 'static pages'
no issue

- 'static pages' (post of a page type) were not supported in v0.1 API
- this is where the 404 is comming from  - df7e64fafa/core/frontend/apps/amp/lib/router.js (L66). and it was handled in rather late stage before - df7e64fafa/core/frontend/apps/amp/lib/router.js (L24)
- after moveing to v2 API the later stage doesn't happen so the entry lookup helper doesn't have anough infomration to tell if it's a 'Post' or 'Page' is being requested
2019-09-11 15:48:23 +02:00
..
dynamic_routing_spec.js 🔥 Removed V1 code/references in frontend resources/routing layer (#11087) 2019-09-10 11:41:42 +02:00
frontend_spec.js Fixed AMP test for 'static pages' 2019-09-11 15:48:23 +02:00
site_spec.js 🔥 Removed ghost-sdk client for v0.1 API (#11100) 2019-09-10 17:15:53 +02:00
UrlService_spec.js 🔥 Removed V1 code/references in frontend resources/routing layer (#11087) 2019-09-10 11:41:42 +02:00