@@ -94,6 +94,13 @@ export class Configuration implements IConfigurationSettings {
94
94
*/
95
95
private _serverUrl : string = 'https://collector.exceptionless.io' ;
96
96
97
+ /**
98
+ * The config server url that all configuration will be retrieved from.
99
+ * @type {string }
100
+ * @private
101
+ */
102
+ private _configServerUrl : string = 'https://config.exceptionless.io' ;
103
+
97
104
/**
98
105
* The heartbeat server url that all heartbeats will be sent to.
99
106
* @type {string }
@@ -154,6 +161,7 @@ export class Configuration implements IConfigurationSettings {
154
161
this . log = inject ( configSettings . log ) || new NullLog ( ) ;
155
162
this . apiKey = configSettings . apiKey ;
156
163
this . serverUrl = configSettings . serverUrl ;
164
+ this . configServerUrl = configSettings . configServerUrl ;
157
165
this . heartbeatServerUrl = configSettings . heartbeatServerUrl ;
158
166
this . updateSettingsWhenIdleInterval = configSettings . updateSettingsWhenIdleInterval ;
159
167
this . includePrivateInformation = configSettings . includePrivateInformation ;
@@ -214,12 +222,33 @@ export class Configuration implements IConfigurationSettings {
214
222
public set serverUrl ( value : string ) {
215
223
if ( ! ! value ) {
216
224
this . _serverUrl = value ;
225
+ this . _configServerUrl = value ;
217
226
this . _heartbeatServerUrl = value ;
218
227
this . log . info ( `serverUrl: ${ value } ` ) ;
219
228
this . changed ( ) ;
220
229
}
221
230
}
222
231
232
+ /**
233
+ * The config server url that all configuration will be retrieved from.
234
+ * @returns {string }
235
+ */
236
+ public get configServerUrl ( ) : string {
237
+ return this . _configServerUrl ;
238
+ }
239
+
240
+ /**
241
+ * The config server url that all configuration will be retrieved from.
242
+ * @param value
243
+ */
244
+ public set configServerUrl ( value : string ) {
245
+ if ( ! ! value ) {
246
+ this . _configServerUrl = value ;
247
+ this . log . info ( `configServerUrl: ${ value } ` ) ;
248
+ this . changed ( ) ;
249
+ }
250
+ }
251
+
223
252
/**
224
253
* The heartbeat server url that all heartbeats will be sent to.
225
254
* @returns {string }
0 commit comments