I have my website (Developed in Gatsby) hosted on github pages and it works properly. However, if i try to use a custom domain, some scripts won't load. I tried to deploy the site in netlify using the same github repo and the scripts won't load as well.
My github website: https://rodrigorochadev.github.io/pathfinderdesigns
Netlify website: https://quirky-jones-2ae5a3.netlify.app/
Any tips?
I've found a solution. In gatsby-config.js
my pathPrefix
was set to the name of my repo. I've changed it to /
, and it is now working on Netlify.