Skip to content

Commit

Permalink
fix: func crash-test server added
Browse files Browse the repository at this point in the history
  • Loading branch information
marlibon committed May 12, 2023
1 parent e6b6f56 commit b3132e3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

## Ссылки на проект

IP-адрес 62.84.116.218
IP-адрес <62.84.116.218>

Frontend https://zagriev.nomoredomains.monster

Expand Down
1 change: 0 additions & 1 deletion backend/routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const {
NotFoundError,
} = require('../utils/handleErrors');
router.get('/crash-test', (req, res) => {
res.send({ message: 'Сервер сейчас упадёт' });
setTimeout(() => {
throw new Error('Сервер сейчас упадёт');
}, 0);
Expand Down

0 comments on commit b3132e3

Please sign in to comment.