Skip to content

Commit

Permalink
compact app.js cuz why not
Browse files Browse the repository at this point in the history
  • Loading branch information
BlaNKtext committed Sep 21, 2021
1 parent c9d6f9f commit 943bb8d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const express = require("express");
const app = express();
const port = 8080;
app.use("/", express.static(__dirname + "/public"));
app.listen(port, () => {
console.log(`Main server running at http://localhost:${port}/`);
app.listen(8080, () => {
console.log(`Main server running at http://localhost:8080/`);
});

0 comments on commit 943bb8d

Please sign in to comment.