Serving images (.jpeg, .png) in React App

I see, it’s a NextJS app!

The answer depends on how you use NextJS. Are you using it statically or with SSR?

The reason I’ve added [[statics]] to the root on my CRA example is because everything there is static!

Since NextJS has this static folder inside it you might want to map it almost like this:

[[statics]]
  guest_path = "/path/to/static/"
  url_prefix = "/static"

Can you give it a try?