Skip to content

Commit

Permalink
Configure React app for deployment to Netlify part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
iamvldmrbrvkv committed Sep 24, 2023
1 parent f09202c commit 766a08f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/App/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function App() {
setToken('');
}, 1000*60*60);
}
return () => window.history.replaceState({}, '', 'https://iamvldmrbrvkv.github.io/jammming/');
return () => window.history.replaceState({}, '', 'https://jammming-app-by-vladimir-borovikov.netlify.app/');
}, [token]);

useEffect(() => {
Expand Down
2 changes: 1 addition & 1 deletion src/util/Spotify.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const client_id = 'c1387cb2da0a45b4b1f522a4142834f6';
const scope = 'user-read-private user-read-email playlist-modify-private playlist-modify-public';
const redirect_uri = 'https://iamvldmrbrvkv.github.io/jammming/';
const redirect_uri = 'https://jammming-app-by-vladimir-borovikov.netlify.app/';

const auth = () => {
try {
Expand Down

0 comments on commit 766a08f

Please sign in to comment.