fix: user authentication interface

This commit is contained in:
karishmas6
2024-10-24 22:26:12 +05:30
parent 47e1e717e0
commit 7d37df74fe
10 changed files with 53 additions and 61 deletions

View File

@@ -18,7 +18,7 @@ import { fork } from 'child_process';
const app = express();
app.use(cors({
origin: 'http://localhost:3000',
origin: 'http://localhost:5173',
credentials: true,
}));
app.use(express.json());