Use static domain for assets

From #6233.
I think this comment should be changed - developers never do stupid stuff ;)