You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently encountered a similar issue. When I changed the homepage field in package.json to my own domain on gh-pages (instead of https://developerfolio.js.org/), the application would not work locally. Interestingly, removing the homepage field altogether seemed to resolve the issue locally. However, this is not a viable solution for build/production.
The issue, as @rogigs pointed out, seems to be that the application cannot access profile.json from the public folder while using fetch in the different components that require the profile data. This occurs when a domain other than the original is provided for the homepage field.
As a temporary workaround, I copied the file to the src folder as well, enabling direct access from the components. You can see the changes I made in this commit.
While this solution works for now, it’s not ideal. If anyone has a more permanent fix, it would be greatly appreciated.
Describe the bug
GitHub projects and profile picture isn't showing after deployment. It was working during development.
Steps to reproduce
3.. See error
Expected behavior
Github projects and contact me section should have been updated.
Is this responsiveness Issue
No
Screenshots
No response
Desktop
Smartphones
Additional context
No response
The text was updated successfully, but these errors were encountered: