mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 21:40:39 +03:00
Reworded confusing comment mentioning v0.1
This commit is contained in:
parent
cbca480b97
commit
f75a8f9aa9
@ -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];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user