Standardport fuer WebUI auf 7001 geaendert
- InstanceConfig.WebServerPort von 8080 auf 7001 vorbelegt - Dokumentation und WebUiOptionsTests nachgezogen
This commit is contained in:
@@ -15,7 +15,7 @@ public sealed class WebUiOptionsTests
|
||||
bool enabled = true,
|
||||
string binding = "loopback",
|
||||
string token = "ein-hinreichend-langes-token",
|
||||
int port = 8080)
|
||||
int port = 7001)
|
||||
=> new()
|
||||
{
|
||||
WebUiEnabled = enabled,
|
||||
@@ -30,6 +30,7 @@ public sealed class WebUiOptionsTests
|
||||
// Wer einen Netzwerkdienst will, schaltet ihn ein. Nicht andersherum.
|
||||
new InstanceConfig().WebUiEnabled.ShouldBeFalse();
|
||||
new InstanceConfig().WebUiBinding.ShouldBe("loopback");
|
||||
new InstanceConfig().WebServerPort.ShouldBe(7001);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in New Issue
Block a user