testing access
This commit is contained in:
parent
8ec6834485
commit
44878e958c
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user