Middleman 4: Absolute Paths for Hashed Assets only on 404 page

Anyone who deploys a static site knows that the 404 page should use absolute URLs for assets, however, relative URLs are often best for the rest of the site.

How can I do this in Middleman 4 with hashed assets?

I have seen a few other posts for older versions suggesting something like:

<%= stylesheet_link_tag "404", :relative => false %>

But this has no effect and continues to generate relative URLs. Do I need to provide the host URL to this function somehow?

Thanks!