diff --git a/console/src/components/Services/Data/push.js b/console/src/components/Services/Data/push.js index d3ff029452cb1..26281a444938a 100644 --- a/console/src/components/Services/Data/push.js +++ b/console/src/components/Services/Data/push.js @@ -1,6 +1,9 @@ import { push } from 'react-router-redux'; -const appPrefix = '/data'; +import globals from '../../../Globals'; + +const urlPrefix = globals.urlPrefix; +const appPrefix = urlPrefix !== '/' ? urlPrefix + '/data' : '/data'; const _push = path => push(appPrefix + path);