Fix EZP-22525: On preview, JS and CSS is broken when using host-match mapping

https://jira.ez.no/browse/EZP-22525

`_assetic_` route was not *legacy aware*.