Closed pbamotra closed 3 years ago
Hi I'm trying to host my notes under: https://hostname/second-brain/
I put the pathPrefix in gatsby-config.js as mentioned here. But this leads to cross-links having the prefix twice in their paths. This works fine on laptop but breaks on phones.
module.exports = { pathPrefix: `second-brain`, siteMetadata: { title: 'My second brain' }, plugins: [`gatsby-theme-andy`], };
Used this solution: https://github.com/ChristopherBiscardi/gatsby-mdx/issues/377
Closing.
Hi I'm trying to host my notes under: https://hostname/second-brain/
I put the pathPrefix in gatsby-config.js as mentioned here. But this leads to cross-links having the prefix twice in their paths. This works fine on laptop but breaks on phones.