Wrapping URL in Bibliography

I’m currently using Mendeley and LO5.1. In the bibliography that is generated, the URLs are not broken by new lines at the slashes, which makes the individual entries with URLs unsightly.

Is there a possibility to automatically create line breaks and wrap the URLs at the slashes? It is possible to do this manually, but this has to be repeated each time a new citation is added.