Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Nov 7, 2019
1 parent f0346af commit 0a3743d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const destroy = () => {};
* @param {any} req The request to retrieve the key.
*/
const verifyKey = req => {
if (!config.KEY) {
if (!config.conf.KEY) {
return;
}
const _key = req.query.key || req.headers["X-Proxy-Key"] || null;
Expand Down

0 comments on commit 0a3743d

Please sign in to comment.