Feed outputs "pub" in the URLs of the "image" attribute when generated by Cron. How can I resolve it?

Feed outputs "pub" in the URLs of the "image" attribute when generated by Cron. How can I resolve it?

In order to change the behavior, open the env.php file located in app/etc/, find the document_root_is_pub line, and ensure that you have it enabled (=> true) as shown in the screenshot below: