Skip to content

Commit

Permalink
Update auth.routes.js
Browse files Browse the repository at this point in the history
  • Loading branch information
AkekoChan committed Mar 12, 2024
1 parent da3553b commit b5da39c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions server/routes/auth.routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if (process.env.ENVIRONMENT == "dev") {
store = new ExpressBrute.MemoryStore(); // stores state locally, don't use this in production
} else {
// stores state with memcached
store = new MemcachedStore(["https://flami-api.onrender.com"], {
store = new MemcachedStore(["127.0.0.1"], {
prefix: "NoConflicts",
});
}
Expand Down Expand Up @@ -63,8 +63,4 @@ router.post(
forgetPasswordController.resetPassword
);

router.get("/", function (req, res) {
res.send("hello world");
});

export default router;

0 comments on commit b5da39c

Please sign in to comment.