mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
console/remote-schemas: fixes 404 errors while adding/modifying/removing remote schemas
https://github.com/hasura/graphql-engine-mono/pull/1674 GitOrigin-RevId: 4775830d97307fd960fc6d0857ec6431f707c68b
This commit is contained in:
parent
621029b4ed
commit
efd934f5c1
@ -2,7 +2,6 @@ import { addState } from '../state';
|
||||
import { generateHeaderSyms } from '../../../Common/Layout/ReusableHeader/HeaderReducer';
|
||||
import { makeRequest } from '../Actions';
|
||||
import { appPrefix } from '../constants';
|
||||
import globals from '../../../../Globals';
|
||||
import { clearIntrospectionSchemaCache } from '../graphqlUtils';
|
||||
import { exportMetadata } from '../../../../metadata/actions';
|
||||
import { getRemoteSchemaSelector } from '../../../../metadata/selector';
|
||||
@ -15,7 +14,7 @@ import {
|
||||
} from '../../../../metadata/queryUtils';
|
||||
import _push from '../../Data/push';
|
||||
|
||||
const prefixUrl = globals.urlPrefix + appPrefix;
|
||||
const prefixUrl = appPrefix;
|
||||
|
||||
const MANUAL_URL_CHANGED = '@addRemoteSchema/MANUAL_URL_CHANGED';
|
||||
const ENV_URL_CHANGED = '@addRemoteSchema/ENV_URL_CHANGED';
|
||||
|
Loading…
Reference in New Issue
Block a user