Skip to content

Commit

Permalink
fix: Fix Neuroglancer URL bug (#1026)
Browse files Browse the repository at this point in the history
closes #1025
  • Loading branch information
bchu1 authored Aug 13, 2024
1 parent bdbc034 commit 377d6dc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frontend/packages/data-portal/app/utils/url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,5 @@ export function createUrl(urlOrPath: string, baseUrl?: string): URL {
}

export function getNeuroglancerUrl(config: string): string {
return `https://neuroglancer-demo.appspot.com/#!'${encodeURIComponent(
config,
)}`
return `https://neuroglancer-demo.appspot.com/#!${encodeURIComponent(config)}`
}

0 comments on commit 377d6dc

Please sign in to comment.