We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d5101b commit 23842f9Copy full SHA for 23842f9
app.js
@@ -11,11 +11,11 @@ const applicationRoutes = require('./routes/applicationRoutes');
11
const app = express();
12
const router = express.Router();
13
14
-const port = process.env.PORT;
+const port = process.env.PORT || 8000;
15
16
app.use(bodyParser.json());
17
app.use(bodyParser.urlencoded({ extended: true }));
18
-app.use(cors({ origin: 'http://localhost:3000' }));
+app.use(cors({ origin: '*' }));
19
20
router.get('/', (req, res) => {
21
res.send('Welcome to the TalentEase API');
0 commit comments