Avoid setting baseUrl
to undefined when input is not provided
#439
+88
−4
baseUrl
to undefined when input is not provided
#439