Skip to content

Commit

Permalink
Commit #14
Browse files Browse the repository at this point in the history
  • Loading branch information
KoushikReddyB committed Apr 27, 2024
1 parent 424e77f commit b282c2e
Show file tree
Hide file tree
Showing 3,589 changed files with 3,729 additions and 1,990,297 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
8 changes: 1 addition & 7 deletions backend/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@ const port = 8000
const msh = mongoose.Schema;
var nodemailer = require('nodemailer');
const app = express()
app.use(cors(
{
origin: ["https://deploy-mern-lwhq.vercel.app"],
methods: [ "POST", "GET" ],
credentials: true
}
));
app.use(cors())
app.use(express.json())

mongoose.connect('mongodb+srv://zap:[email protected]/?retryWrites=true&w=majority&appName=Cluster0',{ useNewUrlParser: true, useUnifiedTopology: true })
Expand Down
2 changes: 1 addition & 1 deletion evisa/node_modules/.cache/.eslintcache

Large diffs are not rendered by default.

Binary file modified evisa/node_modules/.cache/default-development/0.pack
Binary file not shown.
Binary file modified evisa/node_modules/.cache/default-development/1.pack
Binary file not shown.
Binary file modified evisa/node_modules/.cache/default-development/index.pack
Binary file not shown.
Binary file modified evisa/node_modules/.cache/default-development/index.pack.old
Binary file not shown.
Loading

0 comments on commit b282c2e

Please sign in to comment.