File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ public static void ReadFromAppSettings(this ExceptionlessConfiguration config) {
176
176
177
177
string serverUrl = ConfigurationManager . AppSettings [ "Exceptionless:ServerUrl" ] ;
178
178
if ( ! String . IsNullOrEmpty ( serverUrl ) )
179
- config . ApiKey = serverUrl ;
179
+ config . ServerUrl = serverUrl ;
180
180
}
181
181
182
182
/// <summary>
@@ -194,7 +194,7 @@ public static void ReadFromEnvironmentalVariables(this ExceptionlessConfiguratio
194
194
195
195
string serverUrl = GetEnvironmentalVariable ( "Exceptionless:ServerUrl" ) ;
196
196
if ( ! String . IsNullOrEmpty ( serverUrl ) )
197
- config . ApiKey = serverUrl ;
197
+ config . ServerUrl = serverUrl ;
198
198
}
199
199
200
200
private static string GetEnvironmentalVariable ( string name ) {
You can’t perform that action at this time.
0 commit comments