From 44878e958c663fa7b11c000a50eb88b7c646eba1 Mon Sep 17 00:00:00 2001 From: Ivan Date: Fri, 2 Feb 2024 02:18:56 +0300 Subject: [PATCH] testing access --- server.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/server.js b/server.js index 9fc826a..bade521 100644 --- a/server.js +++ b/server.js @@ -150,6 +150,13 @@ const DB_Host = "postgres"; const DB_Port = "5432"; 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) { if (req.session.userId === undefined) { return res.redirect("/signin");