fix
This commit is contained in:
parent
44878e958c
commit
12236f1fd7
@ -150,13 +150,6 @@ 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