-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-global.js
35 lines (28 loc) · 1.25 KB
/
config-global.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
26
27
28
29
30
31
32
33
34
35
// routes
import { paths } from 'src/routes/paths';
// API
// ----------------------------------------------------------------------
export const HOST_API = process.env.REACT_APP_HOST_API;
export const ASSETS_API = process.env.REACT_APP_ASSETS_API;
export const FIREBASE_API = {
apiKey: process.env.REACT_APP_FIREBASE_API_KEY,
authDomain: process.env.REACT_APP_FIREBASE_AUTH_DOMAIN,
projectId: process.env.REACT_APP_FIREBASE_PROJECT_ID,
storageBucket: process.env.REACT_APP_FIREBASE_STORAGE_BUCKET,
messagingSenderId: process.env.REACT_APP_FIREBASE_MESSAGING_SENDER_ID,
appId: process.env.REACT_APP_FIREBASE_APPID,
measurementId: process.env.REACT_APP_FIREBASE_MEASUREMENT_ID,
};
export const AMPLIFY_API = {
userPoolId: process.env.REACT_APP_AWS_AMPLIFY_USER_POOL_ID,
userPoolWebClientId: process.env.REACT_APP_AWS_AMPLIFY_USER_POOL_WEB_CLIENT_ID,
region: process.env.REACT_APP_AWS_AMPLIFY_REGION,
};
export const AUTH0_API = {
clientId: process.env.REACT_APP_AUTH0_CLIENT_ID,
domain: process.env.REACT_APP_AUTH0_DOMAIN,
callbackUrl: process.env.REACT_APP_AUTH0_CALLBACK_URL,
};
export const MAPBOX_API = process.env.REACT_APP_MAPBOX_API;
// ROOT PATH AFTER LOGIN SUCCESSFUL
export const PATH_AFTER_LOGIN = paths.dashboard.root; // as '/dashboard'