Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sentanos committed Apr 20, 2018
1 parent d25bcdd commit 88698fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ server.on('request', (req, res) => {
req.on('error', (err) => {
console.error(`Request error: ${err}`);
});
if (crypto.timingSafeEqual(Buffer.froum(accessKey), ACCESS_KEY)) {
if (crypto.timingSafeEqual(Buffer.from(accessKey), ACCESS_KEY)) {
let parsedTarget;
try {
parsedTarget = new URL(`https://${requestedTarget}`);
Expand Down

0 comments on commit 88698fc

Please sign in to comment.