Standardport für WebUI von 5001 auf 6001 geändert
CI / Build & Tests (Linux) (push) Canceled after 0s
CI / Plattformneutralität & Hygiene (push) Canceled after 0s

This commit is contained in:
Richard
2026-09-08 12:35:29 +02:00
parent 10f928eb4e
commit 78a2f85b94
7 changed files with 11 additions and 11 deletions
@@ -81,7 +81,7 @@
<StackPanel Spacing="12">
<TextBlock Text="Server-Status" FontWeight="SemiBold" FontSize="14" />
<TextBlock Name="lblWebUiStatus" Text="Status wird ermittelt …" Foreground="{DynamicResource AppAccentBrush}" />
<TextBlock Name="lblWebUiUrl" Text="http://127.0.0.1:5001" Foreground="{DynamicResource AppMutedTextBrush}" FontSize="12" />
<TextBlock Name="lblWebUiUrl" Text="http://127.0.0.1:6001" Foreground="{DynamicResource AppMutedTextBrush}" FontSize="12" />
</StackPanel>
</Border>
@@ -93,7 +93,7 @@
<Grid ColumnDefinitions="140,*" Margin="0,4">
<TextBlock Grid.Column="0" Text="Port:" VerticalAlignment="Center" />
<NumericUpDown Name="numWebUiPort" Grid.Column="1" Minimum="1024" Maximum="65535" Value="5001" Width="150" HorizontalAlignment="Left" />
<NumericUpDown Name="numWebUiPort" Grid.Column="1" Minimum="1024" Maximum="65535" Value="6001" Width="150" HorizontalAlignment="Left" />
</Grid>
<CheckBox Name="chkWebUiLocalOnly" Content="Nur lokaler Zugriff (127.0.0.1)" />
@@ -510,7 +510,7 @@ namespace PolyTrader.App.Avalonia.Views
var txtToken = this.FindControl<TextBox>("txtWebUiToken")!;
_webOptions.Enabled = chkEnabled.IsChecked ?? true;
_webOptions.Port = (int)(numPort.Value ?? 5001);
_webOptions.Port = (int)(numPort.Value ?? 6001);
_webOptions.LocalOnly = chkLocal.IsChecked ?? true;
_webOptions.AuthToken = txtToken.Text?.Trim() ?? string.Empty;