I was trying to host one of my dummy projects on GitHub. It’s just a Youtube clone.
Youtube Project Link
I followed the steps for hosting the React App, but the live website is not as it should be. On my local machine, I’m getting the full Youtube-like UI. But in the website above, only the header is visible, and also while clicking on the Youtube icon the website crashed.
Do I need to make changes to the path, in my local I’m using “/” as my home directory. Can anyone suggest a solution? I’m using gh-pages for deployment.
In the section where an error is present, I’m making an API call. Does that make some issue?