-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.js
36 lines (33 loc) · 1.03 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
// Most app config should go here. Use the BUILD_TARGET directives below to set config that depends on
// whether the app is in dev mode, staging mode, etc.
CommonGoodConfig = {
SQLiteDatabase: {
name: 'CommonGood',
version: '1.0',
description: 'CommonGood DB',
estimatedSize: 20 * 1024 * 1024 // kb
},
// For Demo Cards
stagingServerUrl: 'https://xxx.commongood.earth/pos',
// @if BUILD_TARGET='development'
serverproxyUrl: 'https://ws.rcredits.org/pos',
serverUrl: 'https://ws.rcredits.org/pos',
version: '3.0',
build: 301,
transaction_max_amount_offline: 300
// @endif
// @if BUILD_TARGET='staging'
serverproxyUrl: 'https://xxx.commongood.earth/pos',
serverUrl: 'https://xxx.commongood.earth/pos',
version: '3.0',
build: 301,
transaction_max_amount_offline: 300
// @endif
// @if BUILD_TARGET='production'
serverproxyUrl: 'https://xxx.commongood.earth/pos',
serverUrl: 'https://xxx.commongood.earth/pos',
version: '3.0',
build: 301,
transaction_max_amount_offline: 300
// @endif
};