0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Reworded confusing comment mentioning v0.1

This commit is contained in:
Nazar Gargol 2019-09-12 19:17:35 +02:00
parent cbca480b97
commit f75a8f9aa9

View file

@ -28,7 +28,7 @@ const uncapitalise = (req, res, next) => {
pathToTest = isSignupOrReset[1];
}
// Do not lowercase anything after e.g. /api/v0.1/ to protect :key/:slug
// Do not lowercase anything after e.g. /api/v{X}/ to protect :key/:slug
if (isAPI) {
pathToTest = isAPI[1];
}