Skip to content

Commit

Permalink
add path /
Browse files Browse the repository at this point in the history
  • Loading branch information
SaifulI57 committed Feb 3, 2024
1 parent e0e7871 commit f956ed1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ const port = 80;

app.use(bodyParser.urlencoded({ extended: true }));

app.use('/', (req,res)=>{
res.send("running")
})

app.use("/api",pathApi)
app.listen(port, () => {
console.log(`server running in port ${port}`);
Expand Down

0 comments on commit f956ed1

Please sign in to comment.