I finally got the API call to work, and the image is finally displaying. The reason it took so long to work was because I gave my env file a name, which meant that vite couldn’t recognize it and the API call failed. Luckily, I was finally able to figure it out, which means that I’m now moving on to css styling.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.