@yeeyoon/library 1.8.5 → 1.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -12,13 +12,19 @@ function getCyWsApiHost() {
|
|
|
12
12
|
case 'localhost:8010':
|
|
13
13
|
case 'testing-task.yeeyoon.com':
|
|
14
14
|
case 'testing-profile.yeeyoon.com':
|
|
15
|
+
case 'testing-collab.yeeyoon.com':
|
|
16
|
+
case 'testing-bpm.yeeyoon.com':
|
|
15
17
|
case 'demo-task.yeeyoon.com':
|
|
16
18
|
case 'demo-profile.yeeyoon.com':
|
|
19
|
+
return 'wss://testing-ws.yeeyoon.com/yeeyoon';
|
|
17
20
|
case 'staging-task.yeeyoon.com':
|
|
18
21
|
case 'staging-profile.yeeyoon.com':
|
|
19
|
-
|
|
22
|
+
case 'staging-collab.yeeyoon.com':
|
|
23
|
+
case 'staging-bpm.yeeyoon.com':
|
|
20
24
|
case 'task.yeeyoon.com':
|
|
21
25
|
case 'profile.yeeyoon.com':
|
|
26
|
+
case 'collab.yeeyoon.com':
|
|
27
|
+
case 'bpm.yeeyoon.com':
|
|
22
28
|
default:
|
|
23
29
|
return 'wss://ws.yeeyoon.com/yeeyoon';
|
|
24
30
|
}
|
|
@@ -49,13 +55,19 @@ function getCyMessageApiHost() {
|
|
|
49
55
|
case 'localhost:8010':
|
|
50
56
|
case 'testing-task.yeeyoon.com':
|
|
51
57
|
case 'testing-profile.yeeyoon.com':
|
|
58
|
+
case 'testing-collab.yeeyoon.com':
|
|
59
|
+
case 'testing-bpm.yeeyoon.com':
|
|
52
60
|
case 'demo-task.yeeyoon.com':
|
|
53
61
|
case 'demo-profile.yeeyoon.com':
|
|
62
|
+
return 'https://testing-api.yeeyoon.com/notification';
|
|
54
63
|
case 'staging-task.yeeyoon.com':
|
|
55
64
|
case 'staging-profile.yeeyoon.com':
|
|
56
|
-
|
|
65
|
+
case 'staging-collab.yeeyoon.com':
|
|
66
|
+
case 'staging-bpm.yeeyoon.com':
|
|
57
67
|
case 'task.yeeyoon.com':
|
|
58
68
|
case 'profile.yeeyoon.com':
|
|
69
|
+
case 'collab.yeeyoon.com':
|
|
70
|
+
case 'bpm.yeeyoon.com':
|
|
59
71
|
default:
|
|
60
72
|
return 'https://api.yeeyoon.com/notification';
|
|
61
73
|
}
|
|
@@ -102,15 +114,21 @@ export function getEnvVar() {
|
|
|
102
114
|
case 'localhost:8010':
|
|
103
115
|
case 'testing-task.yeeyoon.com':
|
|
104
116
|
case 'testing-profile.yeeyoon.com':
|
|
117
|
+
case 'testing-collab.yeeyoon.com':
|
|
118
|
+
case 'testing-bpm.yeeyoon.com':
|
|
105
119
|
return 'test';
|
|
106
120
|
case 'demo-task.yeeyoon.com':
|
|
107
121
|
case 'demo-profile.yeeyoon.com':
|
|
108
122
|
return 'demo';
|
|
109
123
|
case 'staging-task.yeeyoon.com':
|
|
110
124
|
case 'staging-profile.yeeyoon.com':
|
|
125
|
+
case 'staging-collab.yeeyoon.com':
|
|
126
|
+
case 'staging-bpm.yeeyoon.com':
|
|
111
127
|
return 'uat';
|
|
112
128
|
case 'task.yeeyoon.com':
|
|
113
129
|
case 'profile.yeeyoon.com':
|
|
130
|
+
case 'collab.yeeyoon.com':
|
|
131
|
+
case 'bpm.yeeyoon.com':
|
|
114
132
|
default:
|
|
115
133
|
return 'prod';
|
|
116
134
|
}
|