-
Notifications
You must be signed in to change notification settings - Fork 2.5k
/
Copy pathconfig.js
39 lines (36 loc) · 1.3 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
require('babel-polyfill');
const environment = {
development: {
isProduction: false
},
production: {
isProduction: true
}
}[process.env.NODE_ENV || 'development'];
module.exports = Object.assign({
host: process.env.HOST || 'localhost',
port: process.env.PORT,
apiHost: process.env.APIHOST || 'localhost',
apiPort: process.env.APIPORT,
app: {
title: 'React Redux Example',
description: 'All the modern best practices in one example.',
head: {
titleTemplate: 'React Redux Example: %s',
meta: [
{name: 'description', content: 'All the modern best practices in one example.'},
{charset: 'utf-8'},
{property: 'og:site_name', content: 'React Redux Example'},
{property: 'og:image', content: 'https://react-redux.herokuapp.com/logo.jpg'},
{property: 'og:locale', content: 'en_US'},
{property: 'og:title', content: 'React Redux Example'},
{property: 'og:description', content: 'All the modern best practices in one example.'},
{property: 'og:card', content: 'summary'},
{property: 'og:site', content: '@erikras'},
{property: 'og:creator', content: '@erikras'},
{property: 'og:image:width', content: '200'},
{property: 'og:image:height', content: '200'}
]
}
},
}, environment);