Skip to content

Commit

Permalink
Update: config file
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashcroft committed Jun 8, 2018
1 parent 4988031 commit 4a327a0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
node_modules/*
src/js/_config.js

# Hidden files
*.DS_Store
Expand Down
15 changes: 15 additions & 0 deletions src/js/_config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
const config = {
base_url : 'https://api.spotify.com/v1/',
client_id : '*** YOUR CLIENT ID ***',
client_secret: '*** YOUR CLIENT SECRET ***',
user_token : '',
// Page Elements:
connectDiv : document.getElementById('auth'),
nowPlayingDiv: document.getElementById('nowPlaying'),
backgroundDiv: document.getElementById('background'),
idleDiv : document.getElementById('idle')

};

// module.exports = config;
export default config;

0 comments on commit 4a327a0

Please sign in to comment.