okay, but this does not happen in yii2 as we have baseUrl set to null when we want the assets to be published.