Skip to content

Commit 1c549d0

Browse files
authored
Merge pull request #1298 from jvwong/iss1297_gProfiler-not-allowed
g:Profiler throwing 405 Method Not Allowed
2 parents 3940b09 + 15605b6 commit 1c549d0

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)