0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/web/api
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
..
canary Removed hasActiveStripeSubscriptions endpoint (#14689) 2022-05-04 17:25:21 +01:00
middleware Replaced white/black list terminology 2022-04-19 11:19:59 +01:00
testmode Added guards against parentPort being null 2021-06-29 12:14:48 +01:00
app.js Rewrite old version URLs to unversioned URLs with headers (#14646) 2022-05-05 08:45:24 +01:00
index.js