score:0

Accepted answer

it can be solved by using assetprefix in next.config.js


module.exports = withimages(withsass({
    cssloaderoptions: {
      url: false
    },
    // might need to change it here, before going to the production
    assetprefix: 'http://localhost:3000',
    postcssloaderoptions: {
      config: {
        ctx: {
          theme: json.stringify(process.env.react_app_theme)
        }
      }
    }
}));

Related Query

More Query from same tag