0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/test/e2e-api/shared
Hannah Wolfe 7c795b4e26
Rewrite old version URLs to unversioned URLs with headers (#14646)
closes: https://github.com/TryGhost/Toolbox/issues/315

- For all the current versioned URLs, rewrite the URL as unversioned
  - Add the accept-version header
  - Add the deprecation header
  - Add the link header

- This then does the content-version middleware afterwards, ensuring that rewritten requests get this in the response
2022-05-05 08:45:24 +01:00
..
__snapshots__ Rewrite old version URLs to unversioned URLs with headers (#14646) 2022-05-05 08:45:24 +01:00
version.test.js Rewrite old version URLs to unversioned URLs with headers (#14646) 2022-05-05 08:45:24 +01:00