Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
dclipca committed Jan 31, 2025
1 parent 36f94c5 commit 3f96330
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions SpongeEngine.KoboldSharp.Tests/Common/TestConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
{
public static class TestConfig
{
public const string BaseUrl = "http://localhost:5001";

public static string NativeApiBaseUrl => Environment.GetEnvironmentVariable("KOBOLDCPP_BASE_URL") ?? $"{BaseUrl}/api";
public const string BaseAddress = "http://localhost:5001/";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ protected IntegrationTestBase(ITestOutputHelper output)
{
HttpClient = new HttpClient
{
BaseAddress = new Uri(TestConfig.BaseUrl)
BaseAddress = new Uri(TestConfig.BaseAddress)
},
Logger = LoggerFactory
.Create(builder => builder.AddXUnit(output))
Expand Down

0 comments on commit 3f96330

Please sign in to comment.