micropub
micropub copied to clipboard
getAuthUrl() not handling invalid URL
Calling getAuthUrl() when given an invalid domain (https://foo.com) throws an error:
Unhandled promise rejection TypeError: "err.response is undefined, can't access property "status" of it"
Looks like this was introduced in 1.4.0 with the switch to axios