Compare commits
2 Commits
50c6286190
...
4efbb56905
Author | SHA1 | Date | |
---|---|---|---|
4efbb56905 | |||
7cdd7e790f |
@ -8,7 +8,7 @@ router.get('/account', (request, response) => {
|
||||
response.send(require('./json/account/account.json'))
|
||||
})
|
||||
router.post('/login', (request, response) => {
|
||||
response.send(require('../json/login/success.json'))
|
||||
response.send(require('./json/login/success.json'))
|
||||
})
|
||||
|
||||
module.exports = router;
|
@ -2,6 +2,7 @@
|
||||
"data":
|
||||
{
|
||||
"login": "user1",
|
||||
"password": "123",
|
||||
"photo": "boy",
|
||||
"surname": "Иванов",
|
||||
"name": "Иван",
|
||||
|
Loading…
Reference in New Issue
Block a user