File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11![ Ocelot Logo] ( /images/ocelot_logo.png )
22
3- [ ![ CircleCI ] ( https://circleci .com/gh/ ThreeMammals/Ocelot/tree/main. svg?style=svg )] ( https://circleci .com/gh/ ThreeMammals/Ocelot/tree/main )
3+ [ ![ .NET ] ( https://github .com/ThreeMammals/Ocelot/actions/workflows/dotnet.yml/badge. svg )] ( https://github .com/ThreeMammals/Ocelot/actions/workflows/dotnet.yml )
44
55<!-- [](https://coveralls.io/github/ThreeMammals/Ocelot) -->
66
Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ public string Find()
1919 var baseUrl = _config . GetValue ( key , string . Empty ) ;
2020
2121 // Falls back to memory config then finally default..
22- return string . IsNullOrEmpty ( baseUrl ) ? _config . GetValue ( "BaseUrl" , "http://localhost:5000" ) : baseUrl ;
22+ return string . IsNullOrEmpty ( baseUrl )
23+ ? _config . GetValue ( nameof ( FileGlobalConfiguration . BaseUrl ) , "http://localhost:5000" )
24+ : baseUrl ;
2325 }
2426}
You can’t perform that action at this time.
0 commit comments