Created
March 11, 2016 00:08
-
-
Save DeskWOW/6521e9c723884ec8ceb4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (hashedContext === b64Hash) { | |
res.sendFile(path.join(views, 'index.html')); | |
} else { | |
res.send("authentication failed"); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment