0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/web
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
..
admin Fixed theme error handler (#14363) 2022-03-22 15:32:55 +00:00
api Rewrite old version URLs to unversioned URLs with headers (#14646) 2022-05-05 08:45:24 +01:00
members Added member endpoints for managing newsletter subscriptions (#14624) 2022-04-28 17:14:17 +05:30
oauth Merged our two maintenance middleware into one 2021-11-24 11:27:18 +00:00
parent Moved frontend reloading logic into bridge 2022-04-28 15:37:09 +01:00
shared Centralized base API path value across server codebase 2022-03-09 17:15:51 +08:00
index.js
well-known.js Inlined package requires to save boot time and memory 2021-10-22 09:57:59 +02:00