Use static domain for assets

From #6233.
$domain => $base_url