app.config.json
1.33 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"default": {
"appPort": 3000,
"apiUrlPrefix": "/api/partner",
"requestTimeout": 10,
"redis" : {
"host": "10.1.2.155",
"port": "6379"
},
"passport": {
"strategy": "local",
"configStrategy": {
"local": {
"usernameField": "username",
"passwordField": "password"
},
"saml": {
"path": "/login/callback",
"entryPoint": "https://10.252.160.223:9443/samlsso",
"issuer": "smaf-partner"
}
},
"routes": {
"local": {
"loginPageUrl": "http://localhost:4200/#/login",
"logoutRedirectUrl": "http://localhost:4200"
},
"saml": {
"loginPageUrl": "/login",
"logoutRedirectUrl": "http://localhost:4200"
}
}
},
"sdfHost": "http://10.1.2.222:5000",
"sdfAPI": {
"saleArea": "/api/abc/def"
}
},
"dev": {
"redis" : {
"host": "11.1.2.155",
"port": "6379"
},
"sdfHost": "http://10.1.2.222:5000"
},
"staging": {
"appPort": 4800,
"redis" : {
"host": "12.1.2.155",
"port": "6379"
},
"sdfHost": "http://10.1.2.222:5000"
},
"production": {
"appPort": 4800,
"redis" : {
"host": "12.1.2.155",
"port": "6379"
},
"sdfHost": "http://10.1.2.222:5000"
}
}