mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 15:12:02 +00:00
This removes the need to register a global URL watcher. Instead, the conf package now returns a cached version, and also makes a copy of it so it's impossible to accidentally modify it. This makes it safe in non-cmd/frontend packages to use this. Test plan: All tests are still passing. |
||
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| debug.go | ||
| main_test.go | ||
| main.go | ||
| service.go | ||
| state.html.tmpl | ||