File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/ServiceControl.Persistence.RavenDB Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ class MemoryInformationRetriever(RavenPersisterSettings persisterSettings)
1111 // What does a connection string look like? Is it only a URI or could it contain other stuff?
1212 // The primary instance has only the concept of a connection string (vs the Audit instance having
1313 // both a ServiceUrl and a ConnectionString). If the connection string contain always only the
14- // server URL, this code is safe, otherwise it need to be adjusted to extract the server URL.
15- readonly HttpClient client = new ( ) { BaseAddress = new Uri ( persisterSettings . ConnectionString ) } ;
14+ // server URL, this code is safe, otherwise it need to be adjusted to extract the server URL.
15+ readonly HttpClient client = new ( ) { BaseAddress = new Uri ( persisterSettings . ServerUrl ?? persisterSettings . ConnectionString ) } ;
1616
1717 record ResponseDto
1818 {
You can’t perform that action at this time.
0 commit comments