aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Program.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-10-05 21:00:18 -0500
committerGitHub <noreply@github.com>2022-10-05 21:00:18 -0500
commit94d2536da26287e696662c82295c2fdc832ec856 (patch)
tree56ecca3d999d9814361644620c1b0ad0017b0dbc /src/slskd/Program.cs
parent5a7200df770935060ca0e034c90c780821105ec4 (diff)
parentb879d7109ccde713b17258dc6d1e89624fdb6603 (diff)
downloadslskd-94d2536da26287e696662c82295c2fdc832ec856.tar.gz
Merge branch 'master' into mutex-implementation
Diffstat (limited to 'src/slskd/Program.cs')
-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
{