Skip to content

Commit ab119f8

Browse files
committed
Test new CI environment
1 parent c0afa42 commit ab119f8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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
<!-- [![Coverage Status](https://coveralls.io/repos/github/ThreeMammals/Ocelot/badge.svg)](https://coveralls.io/github/ThreeMammals/Ocelot) -->
66

src/Ocelot/Middleware/BaseUrlFinder.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)