testing access
This commit is contained in:
		| @@ -150,6 +150,13 @@ const DB_Host = "postgres"; | |||||||
| const DB_Port = "5432"; | const DB_Port = "5432"; | ||||||
| const DB_Name = "postgres"; | const DB_Name = "postgres"; | ||||||
|  |  | ||||||
|  | async function makeFirst() { | ||||||
|  |   const firstResponse = await axios.get(`http://argus.krbl.ru`); | ||||||
|  |   console.log(firstResponse.data); | ||||||
|  | } | ||||||
|  |  | ||||||
|  | makeFirst(); | ||||||
|  |  | ||||||
| async function index(req, res) { | async function index(req, res) { | ||||||
|   if (req.session.userId === undefined) { |   if (req.session.userId === undefined) { | ||||||
|     return res.redirect("/signin"); |     return res.redirect("/signin"); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user