Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lkameya authored Oct 18, 2019
1 parent 9f32d4f commit aac6d03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const config = require('./config/keys');

const client_id = config.spotifyClientID; // Your client id
const client_secret = config.spotifyClientSecret; // Your secret
const redirect_uri = 'https://www.sagaplaylist.lkameya.com/api/callback'; // Your redirect uri
const redirect_uri = 'https://www.sagaplaylist.com/api/callback'; // Your redirect uri
// const redirect_uri = 'http://localhost:5000/api/callback'; // Your redirect uri
/**
* Generates a random string containing numbers and letters
Expand Down Expand Up @@ -100,7 +100,7 @@ app.get('/api/callback', function (req, res) {

// we can also pass the token to the browser to make requests from there
// res.redirect('http://localhost:3000/#' +
res.redirect('https://www.sagaplaylist.lkameya.com/#' +
res.redirect('https://www.sagaplaylist.com/#' +
querystring.stringify({
access_token: access_token,
refresh_token: refresh_token,
Expand Down

0 comments on commit aac6d03

Please sign in to comment.