Match domain instead of URL
Match domain instead of URL

The url check fails if not at the root at the app. This does not happen often, but
if the page is refreshed, this code is executed again, and if not on the dashboard,
would lead to an incorrect determination

travis-ci/travis-web,fotinakis/travis-web,travis-ci/travis-web,fotinakis/travis-web,fotinakis/travis-web,travis-ci/travis-web,fotinakis/travis-web,travis-ci/travis-web