Given a path, converts it to absolute url based on the baseUrl. If baseUrl is not provided, the result would be a rooted path (one that starts with /).
baseUrl
/
The path to convert
Optional
The base URL
Given a path, converts it to absolute url based on the
baseUrl. If baseUrl is not provided, the result would be a rooted path (one that starts with/).