Skip to content

Commit

Permalink
Merge pull request #390 from amitroy-thedev/master
Browse files Browse the repository at this point in the history
[Bug]: Fix the Register and Signup Issues
  • Loading branch information
Trisha-tech authored Oct 9, 2024
2 parents 1385fd4 + ed948b3 commit 26e300b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ REFRESH_TOKEN_COOKIE_EXPIRE=30
REFRESH_TOKEN_SECRET=XYZ
GOOGLE_CLIENT_ID=your_client_id
GOOGLE_CLIENT_SECRET=your_client_secret
JWT_SECRET=yourSecretKey
SMTP_EMAIL=[email protected]
SMTP_PASSWORD=your-email-password

2 changes: 1 addition & 1 deletion client/src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const session = require('express-session');
const mongoose = require('mongoose');
require('dotenv').config();

const User = require('./models/customerSchema'); // Import User model
const User = require('../../models/customerSchema'); // Import User model

const app = express();
const port = process.env.PORT || 5000; // Use port from .env or fallback to 5000
Expand Down

0 comments on commit 26e300b

Please sign in to comment.