Use static domain for assets

From #6233.
There's 2 other conditions that return true...