a bit refresh deployment
This commit is contained in:
1 parent
80f8cef142
commit
6651215eeb
2 files changed
+4
-11
No files matched your search
@@ -4,15 +4,6 @@ router.get('/landing-data', (request, response) => {
|
||||
response.send(require('./json/landing-data/success.json'));
|
||||
});
|
||||
|
||||
router.post('/login', (req, response) => {
|
||||
const { username, password } = req.body;
|
||||
if (username === 'admin') {
|
||||
response.send(require('./json/user/sitter.success.json'));
|
||||
} else {
|
||||
response.send(require('./json/landing-data/success.json'));
|
||||
}
|
||||
});
|
||||
|
||||
router.post('/search', (req, res) => {
|
||||
const { search } = req.body;
|
||||
|
||||
|
||||
Reference in new issue
Block a user