0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/server/services/api-version-compatibility
Hannah Wolfe b911c66bb6
Fixed legacyApiPathMatch not working with subdirs
- The recently refactored path matching code forgot to take into account that originalUrl can include the subdir
- Added more permutations to tests and ensured that all tests pass
- This means we don't have to worry about what sort of path we pass to the function, it'll figure out the version and api info
2022-05-10 13:57:06 +01:00
..
index.js Added Integration Name in version mismatch emails 2022-05-10 17:55:18 +08:00
legacy-api-path-match.js Fixed legacyApiPathMatch not working with subdirs 2022-05-10 13:57:06 +01:00
mw-version-rewrites.js Removed versioning from api-key/admin auth 2022-05-06 08:09:54 +01:00