Skip to content

Commit 0ac5177

Browse files
committed
fix jbrowse url handling
1 parent e916e8c commit 0ac5177

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

front/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default function Home() {
5151
if (annotationId) {
5252
params.set('annotationId', annotationId)
5353
}
54-
window.location.href = `/jbrowse?${params.toString()}`
54+
window.location.href = `/annotrieve/jbrowse?${params.toString()}`
5555
}
5656

5757
const handleAssemblySelect = async (accession: string) => {

front/components/jbrowse.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const baseURL = process.env.NEXT_PUBLIC_API_URL ||
2929
: '')
3030
const apiBaseURL = process.env.NEXT_PUBLIC_API_URL ||
3131
(typeof window !== 'undefined' && window.location.hostname.includes('github.io')
32-
? 'https://genome.crg.es/annotrieve'
32+
? 'https://genome.crg.es/annotrieve/api/v0'
3333
: '')
3434

3535
const configuration = {

0 commit comments

Comments
 (0)