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:
parent
cbca480b97
commit
f75a8f9aa9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue