Skip to content

Commit

Permalink
index updated
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruv160410116084 committed Sep 25, 2024
1 parent a78b043 commit b6b41e7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ const cors = require('cors');
const bodyParser = require('body-parser')
const app = express();
const server = createServer(app)
console.log(process.env.FRONT_URL)
const dotenv = require('dotenv')

dotenv.config()
console.log(process.env.FRONT_URL)

const io = new Server(server,{
cors:['http://localhost:5173',' http://192.168.2.17:5173',process.env.FRONT_URL]
})
Expand Down

0 comments on commit b6b41e7

Please sign in to comment.