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:
Abhijeet Khangarot 2021-06-28 17:50:02 +05:30 committed by hasura-bot
parent 621029b4ed
commit efd934f5c1

View File

@ -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';