Skip to content

Commit 995b83e

Browse files
committed
change cors :wq
2 parents b546cb4 + 43da8bc commit 995b83e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/app.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const morgan = require('morgan');
66
const cors = require('cors');
77
const helmet = require('helmet');
88
const { NODE_ENV } = require('./config');
9-
const {CLIENT_ORIGIN} = require('./config');
9+
const { CLIENT_ORIGIN, CLIENT_ID, CLIENT_SECRET} = require('./config');
1010
const request = require('request');
1111
const authRouter = require('./auth/auth-router');
1212

@@ -44,6 +44,8 @@ function handleGetPlaylists(req, res){
4444

4545
const client_id = process.env.CLIENT_ID;
4646
const client_secret = process.env.CLIENT_SECRET;
47+
// const client_id = 'ede709c1f9a04d62a26b5773d1748615';
48+
// const client_secret = '6dbb876c33d4f33809c7e6e448130d0';
4749

4850

4951

0 commit comments

Comments
 (0)