Browse Source

files

master
zeus 4 years ago
parent
commit
0396337a3d
  1. 7
      swarmlab-app/src/run/app.js

7
swarmlab-app/src/run/app.js

@ -51,8 +51,6 @@ app.get(
}
);
app.use(express.json());
//app.use(helmet());
app.get(
"/test",
@ -65,7 +63,6 @@ app.get(
var data = req.query["input"];
var RES = new Object();
console.error(`Client called GET from axios`);
// RES.message = "Server responded with success";
res.json(data);
}
);
@ -102,5 +99,5 @@ io.on("connection", (s) => {
});
http.listen(3000, () => console.error("listening on http://0.0.0.0:3000/"));
console.error("Lefteris demo project");
console.log("kati");
console.error("Run demo project");
console.log("Hello World!");

Loading…
Cancel
Save