Spotify-Readme
Spotify-Readme copied to clipboard
fix: #25 dependencies and feat: #10 redirect to current song
PR #16 works fine locally but doesn't work on Vercel.
Adding this:
vercel.json
{
"routes": [{
"src": "/api/(.*)",
"dest": "api/index.py"
}]
}
fixed the issue
Working deployment: https://spotify-readme-8i1rak5nw-42willows.vercel.app/api
@42Willow is attempting to deploy a commit to the tthn0's projects Team on Vercel.
A member of the Team first needs to authorize it.
@dedomil
This looks better, will close my pull request as this one works as expected!
The outdated dependencies and #10 will be addressed in the next commit.