I read on this post that you can concatenate URLs using url.resolve:
url.resolve('http://example.com/', 'image.jpg') // 'http://example.com/image.jpg'
But upon reading the documentation I see that this is now deprecated. Is there a replacement for url.resolve?