diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-10-05 21:00:18 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-05 21:00:18 -0500 |
| commit | 94d2536da26287e696662c82295c2fdc832ec856 (patch) | |
| tree | 56ecca3d999d9814361644620c1b0ad0017b0dbc /src | |
| parent | 5a7200df770935060ca0e034c90c780821105ec4 (diff) | |
| parent | b879d7109ccde713b17258dc6d1e89624fdb6603 (diff) | |
| download | slskd-94d2536da26287e696662c82295c2fdc832ec856.tar.gz | |
Merge branch 'master' into mutex-implementation
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Program.cs | 16 |
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 { |
