Skip to content

Commit

Permalink
Update server.js
Browse files Browse the repository at this point in the history
  • Loading branch information
RahulDubey-Devops authored Oct 9, 2024
1 parent 36d1889 commit 8e56ab7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require('dotenv').config();

const connectToMongo = require('./database/db');
const express = require('express');
const cors = require('cors');
Expand All @@ -19,5 +21,5 @@ app.use('/api/quotations', quotationRoutes);

connectToMongo();
app.listen(process.env.PORT, () => {
console.log(`Example app listening at http://65.2.30.244:${process.env.PORT}`)
console.log(`Example app listening at http://localhost:${process.env.PORT}`)
})

0 comments on commit 8e56ab7

Please sign in to comment.