Skip to content

Commit

Permalink
Updating files
Browse files Browse the repository at this point in the history
  • Loading branch information
lkameya committed Oct 15, 2019
1 parent 8d772ae commit bc9d3f8
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 = 'http://www.sagaplaylist.lkameya.com/api/callback'; // Your redirect uri
const redirect_uri = 'https://www.sagaplaylist.lkameya.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('http://www.sagaplaylist.lkameya.com/#' +
res.redirect('https://www.sagaplaylist.lkameya.com/#' +
querystring.stringify({
access_token: access_token,
refresh_token: refresh_token,
Expand Down

0 comments on commit bc9d3f8

Please sign in to comment.