DASHA
This commit is contained in:
		
							
								
								
									
										8
									
								
								Отправка ответа/app.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								Отправка ответа/app.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| const express = require('express'); | ||||
| const app = express(); | ||||
|  | ||||
| app.use('/home/foo/bar', function (request, response) { | ||||
|     response.status(404).send(`Ресурс не найден`); | ||||
| }); | ||||
|  | ||||
| app.listen(3000); | ||||
		Reference in New Issue
	
	Block a user
	 User1
					User1