Absolute url configuration

Is there a way to set globally(in application configuration) yii2 to generate full links like:

http://example.com/images/logo.gif

Without using:

Url::to('/images/logo.gif', true);

Because sometimes…some extensions use /images/logo.gif instead of the absolute url …and there are hard to configure.

As far as I remember, no.