Standardport für WebUI von 5001 auf 6001 geändert
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user