Skip to content

Commit

Permalink
main
Browse files Browse the repository at this point in the history
  • Loading branch information
xyfer17 committed Nov 1, 2023
1 parent 6fd18f6 commit 4bf4d79
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
const express = require('express')
const app = express()
app.all('/', (req, res) => {
console.log("Just got a request!")
res.send('Yo!')
})
app.listen(process.env.PORT || 3000)
const express = require("express");
const app = express();
app.all("/", (req, res) => {
console.log("Just got a request!");
res.send("Yo!");
});

const test = () => {
console.log("new request");
};

app.listen(process.env.PORT || 3000);

0 comments on commit 4bf4d79

Please sign in to comment.