aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Program.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs
index 2faf9e72..8f24d69a 100644
--- a/src/slskd/Program.cs
+++ b/src/slskd/Program.cs
@@ -132,7 +132,7 @@ namespace slskd
/// <summary>
/// Gets the semantic application version.
/// </summary>
- public static string SemanticVersion { get; } = InformationalVersion.Split('-').First();
+ public static string SemanticVersion { get; } = InformationalVersion.Split('+').First();
/// <summary>
/// Gets the full application version, including both assembly and informational versions.
@@ -635,13 +635,13 @@ namespace slskd
};
});
- services.AddAuthentication(ApiKeyAuthentication.AuthenticationScheme)
- .AddScheme<ApiKeyAuthenticationOptions, ApiKeyAuthenticationHandler>(ApiKeyAuthentication.AuthenticationScheme, options =>
- {
- options.EnableSignalRSupport = true;
- options.SignalRRoutePrefix = "/hub";
- options.Role = Role.Administrator;
- });
+ //services.AddAuthentication(ApiKeyAuthentication.AuthenticationScheme)
+ // .AddScheme<ApiKeyAuthenticationOptions, ApiKeyAuthenticationHandler>(ApiKeyAuthentication.AuthenticationScheme, options =>
+ // {
+ // options.EnableSignalRSupport = true;
+ // options.SignalRRoutePrefix = "/hub";
+ // options.Role = Role.Administrator;
+ // });
}
else
{