forked from y-kkamil/console
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
25 lines (21 loc) · 966 Bytes
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
var domain = 'kyma.local';
var localDomain = 'console-dev.kyma.local';
window.clusterConfig = {
graphqlApiUrl: 'https://ui-api.' + domain + '/graphql',
graphqlApiUrlLocal: 'http://' + localDomain + ':3000/graphql',
subscriptionsApiUrl: 'wss://ui-api.' + domain + '/graphql',
subscriptionsApiUrlLocal: 'ws://' + localDomain + ':3000/graphql',
authRedirectUri: 'http://' + localDomain + ':4200',
domain: domain,
consoleClientId: 'console',
orgId: 'my-org-123',
orgName: 'My Organization',
scope:
'audience:server:client_id:kyma-client audience:server:client_id:console openid profile email groups',
gateway_kyma_cx_api_version: 'v1alpha2',
serviceCatalogModuleUrl: 'http://' + localDomain + ':8000',
serviceInstancesModuleUrl: 'http://' + localDomain + ':8001',
serviceBrokersModuleUrl: 'http://' + localDomain + ':8002',
docsModuleUrl: 'http://' + localDomain + ':8003',
lambdasModuleUrl: 'http://' + localDomain + ':4201',
};