Skip to content

Commit

Permalink
add cors to route
Browse files Browse the repository at this point in the history
ref #65
  • Loading branch information
maxgrossman committed Aug 1, 2019
1 parent b06dc8e commit 583b6b4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions routes/auth/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,9 @@ module.exports = {
.catch(function(e) {
throw e;
});
}
}
},
cors: contentTypeCORS
},
}),
/**
* the jwt strategy will capture fail cases and return 401.
Expand Down

0 comments on commit 583b6b4

Please sign in to comment.