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

Commit

Permalink
fix: urls
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksnyder authored Oct 4, 2018
1 parent df44140 commit 6408f9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async function openCommand(): Promise<void> {

// Open in browser.
await opn(
`${getSourcegraphUrl()}-/editor` +
`${getSourcegraphUrl()}/-/editor` +
`?remote_url=${encodeURIComponent(remoteURL)}` +
`&branch=${encodeURIComponent(branch)}` +
`&file=${encodeURIComponent(fileRel)}` +
Expand Down Expand Up @@ -65,7 +65,7 @@ async function searchCommand(): Promise<void> {

// Search in browser.
await opn(
`${getSourcegraphUrl()}-/editor` +
`${getSourcegraphUrl()}/-/editor` +
`?remote_url=${encodeURIComponent(remoteURL)}` +
`&branch=${encodeURIComponent(branch)}` +
`&file=${encodeURIComponent(fileRel)}` +
Expand Down

0 comments on commit 6408f9b

Please sign in to comment.