Fix requestGraphQL when no baseURL is provided
Created by: lguychard
https://github.com/sourcegraph/sourcegraph/pull/10443 introduced a regression breaking the webapp with TypeError: Invalid base URL:
. When no base URL is passed to requestGraphQL, we should simply use a relative URL, not attempt to build an absolute URL.
This is really