testing access

This commit is contained in:
Ivan 2024-02-02 02:18:56 +03:00
parent 8ec6834485
commit 44878e958c
Signed by untrusted user who does not match committer: ppechenkoo
GPG Key ID: 0C191B86D9582583

View File

@ -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");