Fixes codepath to load assets relative to node url