We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbdc395 commit 6d5101bCopy full SHA for 6d5101b
app.js
@@ -15,11 +15,7 @@ const port = process.env.PORT;
15
16
app.use(bodyParser.json());
17
app.use(bodyParser.urlencoded({ extended: true }));
18
-app.use(cors(
19
- {
20
- origin: 'http://localhost',
21
- },
22
-));
+app.use(cors({ origin: 'http://localhost:3000' }));
23
24
router.get('/', (req, res) => {
25
res.send('Welcome to the TalentEase API');
0 commit comments