Skip to content
This repository was archived by the owner on Mar 10, 2022. It is now read-only.

Commit 6408f9b

Browse files
authored
fix: urls
1 parent df44140 commit 6408f9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ async function openCommand(): Promise<void> {
3535

3636
// Open in browser.
3737
await opn(
38-
`${getSourcegraphUrl()}-/editor` +
38+
`${getSourcegraphUrl()}/-/editor` +
3939
`?remote_url=${encodeURIComponent(remoteURL)}` +
4040
`&branch=${encodeURIComponent(branch)}` +
4141
`&file=${encodeURIComponent(fileRel)}` +
@@ -65,7 +65,7 @@ async function searchCommand(): Promise<void> {
6565

6666
// Search in browser.
6767
await opn(
68-
`${getSourcegraphUrl()}-/editor` +
68+
`${getSourcegraphUrl()}/-/editor` +
6969
`?remote_url=${encodeURIComponent(remoteURL)}` +
7070
`&branch=${encodeURIComponent(branch)}` +
7171
`&file=${encodeURIComponent(fileRel)}` +

0 commit comments

Comments
 (0)