0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test/unit/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
..
legacy-api-path-match.test.js Fixed legacyApiPathMatch not working with subdirs 2022-05-10 13:57:06 +01:00
mw-version-rewrites.test.js