This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Description
Version: 1.12.1, Sourcegraph URL = https://sourcegraph.sgdev.org
Repro:
- Visit https://github.com/sourcegraph/sourcegraph-basic-code-intel/blob/master/.editorconfig, which is a repository that is NOT currently on our internal Sourcegraph instance (nor is it on sourcegraph.com because it is a private repository)
When the page loads, the JS console shows the following error:
Error: no sourcegraph urls are configured
at new t (inject.bundle.js:21)
at r (inject.bundle.js:21)
at t.selector (inject.bundle.js:21)
at t.error (inject.bundle.js:31)
at t._next (inject.bundle.js:15)
at t.next (inject.bundle.js:15)
at t.next (inject.bundle.js:31)
at XMLHttpRequest.o (inject.bundle.js:31)
This is incorrect, because my Sourcegraph URL is set to https://sourcegraph.sgdev.org and other private and public repos work.
Also, there are no View file buttons. Clicking View repository opens the extension's options page instead of the repository.