0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/test/unit/apps/amp
Kevin Ansfield ee6ca9b654
Fixed AMP URLs not being transformed to absolute (#12737)
refs https://github.com/TryGhost/Team/issues/467
refs https://github.com/TryGhost/Ghost/pull/12731

- AMP helper fetches HTML directly from the database rather than fetching via the API so we can't rely on the API serializers to perform transforms for us
- switched the `relativeToAbsolute(html)` call to `transformReadyToAbsolute(html)` to match the new `__GHOST_URL__` storage format
2021-03-06 09:43:50 +00:00
..
amp_components_spec.js 🐛 Fixed iframe script for AMP not injected 2020-06-01 16:06:13 +12:00
amp_content_spec.js Fixed AMP URLs not being transformed to absolute (#12737) 2021-03-06 09:43:50 +00:00
router_spec.js Fixed "no-shadow" eslint warning in tests 2020-10-19 17:45:26 +13:00