forked from AgileVentures/WebsiteOne-FE
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
24 lines (23 loc) · 867 Bytes
/
config.js
File metadata and controls
24 lines (23 loc) · 867 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
const config = {
production: {
AUTH_API: 'https://develop.websiteone.agileventures.org/login',
APP_URL: 'https://www.agileventures.org/',
API_BASE_URL: 'https://develop.websiteone.agileventures.org/'
},
staging: {
AUTH_API: 'https://staging.websiteone.agileventures.org/login',
APP_URL: 'https://staging.websiteone.agileventures.org/',
API_BASE_URL: 'https://staging.websiteone.agileventures.org/'
},
development: {
AUTH_API: 'https://develop.websiteone.agileventures.org/login',
APP_URL: `http://localhost:${process.env.PORT}/`,
API_BASE_URL: 'https://develop.websiteone.agileventures.org/'
},
testing: {
AUTH_API: '', // Todo add url for testing,
APP_URL: '', // Todo add url for testing,
API_BASE_URL: '' // Todo add url for testing,
}
}
export default config[process.env.NODE_ENV || 'development']