diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Core/Options.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index b75f9356..6b0d2aa1 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -429,6 +429,7 @@ namespace slskd /// </summary> [Argument(default, "controller-address")] [EnvironmentVariable("CONTROLLER_ADDRESS")] + [Url] public string Address { get; init; } /// <summary> @@ -436,7 +437,7 @@ namespace slskd /// </summary> [Argument(default, "controller-secret")] [EnvironmentVariable("CONTROLLER_SECRET")] - [StringLength(48, MinimumLength = 48)] + [StringLength(255, MinimumLength = 16)] [Secret] public string Secret { get; init; } } @@ -449,7 +450,7 @@ namespace slskd /// <summary> /// Gets the agent secret. /// </summary> - [StringLength(48, MinimumLength = 48)] + [StringLength(255, MinimumLength = 16)] [Secret] public string Secret { get; init; } } |
