Skip to content

Commit

Permalink
add: FR onlyinenv
Browse files Browse the repository at this point in the history
  • Loading branch information
sirpy committed May 14, 2019
1 parent d040564 commit f010554
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/verification/verificationAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const setup = (app: Router, verifier: VerificationAPI, storage: StorageAPI) => {
app.post(
'/verify/facerecognition',
passport.authenticate('jwt', { session: false }),
onlyInEnv('production', 'staging'),
upload.any(),
wrapAsync(async (req, res, next) => {
const log = req.log.child({ from: 'livenesstest' })
Expand Down

0 comments on commit f010554

Please sign in to comment.