mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Fixed typo
This commit is contained in:
parent
98a8fa8b0d
commit
6cca515eae
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ const authenticateWithToken = async (req, res, next, {token, JWT_OPTIONS}) => {
|
|||
// https://github.com/auth0/node-jsonwebtoken/issues/208#issuecomment-231861138
|
||||
const secret = Buffer.from(apiKey.get('secret'), 'hex');
|
||||
|
||||
// Using req.originalUril means we get the right url even if version-rewrites have happened
|
||||
// Using req.originalUrl means we get the right url even if version-rewrites have happened
|
||||
const {version, api} = legacyApiPathMatch(req.originalUrl);
|
||||
|
||||
// ensure the token was meant for this api
|
||||
|
|
Loading…
Add table
Reference in a new issue