DEV Community

Discussion on: How To Deploy a Full-Stack MERN App with Heroku/Netlify

Collapse
 
nbhankes profile image
Nathan B Hankes

Great tutorial. Thanks so much!

If anyone is trying this with GatsbyJS, I needed to insert the following code for my build to complete successfully:

// gatsby-config.js

module.exports = {
  plugins: [
    {
      resolve: 'gatsby-plugin-apollo',
      options: {
        uri: 'https://example.com/graphql'
      }
    }
  ]
};
Enter fullscreen mode Exit fullscreen mode