Skip to content

Commit

Permalink
mudando redirecionamento
Browse files Browse the repository at this point in the history
  • Loading branch information
anabborges committed Apr 1, 2023
1 parent bfae62d commit 4ad7858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function Login() {
.then(data => setToken(data.request_token))

function aproveToken() {
return(window.location.href = `https://www.themoviedb.org/authenticate/${token}?redirect_to=http://localhost:3000/popular`)
return(window.location.href = `https://www.themoviedb.org/authenticate/${token}?redirect_to=http://localhost:3000`)
}

return (
Expand Down

0 comments on commit 4ad7858

Please sign in to comment.