Skip to content

Commit 15605b6

Browse files
committed
Updating the g:profiler GOSt service URL.
1 parent 67eb02c commit 15605b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/server/external-services/gprofiler/gprofiler.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const { GPROFILER_URL } = require('../../../config');
88
const logger = require('../../logger');
99
const { cachePromise } = require('../../cache');
1010

11-
11+
const GPROFILER_GOST_URL = GPROFILER_URL + 'index.cgi';
1212
const GPROFILER_DEFAULT_OPTS = {
1313
output: 'mini',
1414
organism: 'hsapiens',
@@ -106,7 +106,7 @@ const rawEnrichment = (query, opts) => {
106106
} );
107107

108108

109-
fetch(GPROFILER_URL, { method: 'post', body: qs.stringify(gProfilerOpts)})
109+
fetch(GPROFILER_GOST_URL, { method: 'post', body: qs.stringify(gProfilerOpts)})
110110
.then( res => res.text() )
111111
.then( gprofilerRes => parseGProfilerResponse( gprofilerRes ) )
112112
.then( pathwayInfo => resolve( pathwayInfo ) )

0 commit comments

Comments
 (0)