Skip to content

Commit

Permalink
link to the key
Browse files Browse the repository at this point in the history
  • Loading branch information
khabbib committed Sep 21, 2023
1 parent fc51cda commit 4688f38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion routes/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ const md5encrypt = require('md5');
const Session = require('../models/session').Session;

const Admin = require('../models/admin');
const db = require('../config/keys').mongoURI;
// const db = require('../config/keys').mongoURI;
const db = 'mongodb+srv://habib1:habib1121@clusterone.cskl3.mongodb.net/cluster?retryWrites=true&w=majority';
const mongoose = require('mongoose');

function random(low, high) {
Expand Down
3 changes: 2 additions & 1 deletion routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ const router = express.Router();
const mongoose = require('mongoose');
const bcrypt = require('bcryptjs');
const md5encrypt = require('md5');
const db = require('../config/keys').mongoURI;
// const db = require('../config/keys').mongoURI;
const db = 'mongodb+srv://habib1:habib1121@clusterone.cskl3.mongodb.net/cluster?retryWrites=true&w=majority';
ObjectID = require('mongodb').ObjectID;
const Appointment = require('../models/appointment');
const Time = require('../models/time');
Expand Down

0 comments on commit 4688f38

Please sign in to comment.