0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server/web
Hannah Wolfe c6ae3c30d8 Moved content-version middleware onto api app
closes: https://github.com/TryGhost/Toolbox/issues/319

- at the moment, content-version is only set if one of our endpoints touches the request
  - this was demonstrated in the e2e tests, where many of the tests that set accept-version did not receive accept-version
- by moving the middleware out of the http module and onto the api app we ensure it's always done
- I put the code in the api-version-compatibility service to keep it all co-located
- ideally we will refactor that service slightly so it only exposes middleware
2022-05-02 19:05:14 +01:00
..
admin Fixed theme error handler (#14363) 2022-03-22 15:32:55 +00:00
api Moved content-version middleware onto api app 2022-05-02 19:05:14 +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