Background image path on non bedrock environment

After running yarn run build:production my background images get this path:

/app/themes/test-project/dist/images/hero1_d4a30bd2.jpg

So for non bedrock set up background images in my theme don’t work. Is there a way to fix that? By the way paths in img src work fine.

Have you adjusted the publicPath option in config.json (notably the theme name)?

1 Like

Yes, that solved it, thanks. Had to change from /app/… to /wp-content/…