-
Notifications
You must be signed in to change notification settings - Fork 11
/
config.js
39 lines (38 loc) · 984 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
var config = {
development: {
client_id: '3399f4b75617c8ca5876',
redirect_uri: 'https://127.0.0.1:9966',
proxy: 'https://127.0.0.1:5000',
scope: 'repo',
github: {
owner: 'editdata',
repo: 'submit-data',
branch: 'gh-pages'
},
site: {
title: 'Submit Data',
description: 'Submit a row to a csv/json file in a GitHub repo',
slug: 'submit-data-dev-site',
data: 'data.json'
}
},
production: {
client_id: 'e726b293f8f60b2e7170',
redirect_uri: 'https://submitdata.surge.sh',
proxy: 'https://submit-data-demo.herokuapp.com',
scope: 'repo',
github: {
owner: 'editdata',
repo: 'submit-data',
branch: 'gh-pages'
},
site: {
title: 'Submit Data',
description: 'Submit a row to a csv/json file in a GitHub repo',
slug: 'submit-data-demo-site',
data: 'data.json'
}
}
}
var env = process.env.NODE_ENV || 'development'
module.exports = config[env]