Skip to content

Commit

Permalink
change push from get to put
Browse files Browse the repository at this point in the history
  • Loading branch information
aadi-1024 committed Jul 15, 2023
1 parent 66a4692 commit 04b9b71
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions server/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ function authenticate(pass) {
if (pass.trim() === password) {
return true;
} else {
console.log(pass);
console.log(password)
return false;
}
}
Expand Down
Binary file added server/dump.rdb
Binary file not shown.
2 changes: 1 addition & 1 deletion server/routers/clips.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ const router = express.Router();

// router.get('/key/:key', controller.byKey);
router.get('/all', controller.all);
router.get('/push', controller.push)
router.post('/push', controller.push)
module.exports = router;

0 comments on commit 04b9b71

Please sign in to comment.