Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit 6a354a9f authored by 65160024's avatar 65160024
Browse files

Update file server.js

parent 64934a77
No related branches found
No related tags found
No related merge requests found
...@@ -40,8 +40,8 @@ readdirSync(routesPath).map((file) => { ...@@ -40,8 +40,8 @@ readdirSync(routesPath).map((file) => {
app.use("/api", require(routePath)); app.use("/api", require(routePath));
}); });
app.get('/', (req, res) => { // app.get('/', (req, res) => {
res.send('Hello World!') // res.send('Hello World!')
}) // })
app.listen(3000, () => console.log("Server is running on port 3000")); app.listen(3000, () => console.log("Server is running on port 3000"));
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment