From fae0729152ff1db8c4fd25c0c7a667bb3b76962e Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 5 Oct 2022 08:28:03 -0500 Subject: disable API key auth --- src/slskd/Program.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/slskd/Program.cs') diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs index fd80d649..c9417ed8 100644 --- a/src/slskd/Program.cs +++ b/src/slskd/Program.cs @@ -612,13 +612,13 @@ namespace slskd }; }); - services.AddAuthentication(ApiKeyAuthentication.AuthenticationScheme) - .AddScheme(ApiKeyAuthentication.AuthenticationScheme, options => - { - options.EnableSignalRSupport = true; - options.SignalRRoutePrefix = "/hub"; - options.Role = Role.Administrator; - }); + //services.AddAuthentication(ApiKeyAuthentication.AuthenticationScheme) + // .AddScheme(ApiKeyAuthentication.AuthenticationScheme, options => + // { + // options.EnableSignalRSupport = true; + // options.SignalRRoutePrefix = "/hub"; + // options.Role = Role.Administrator; + // }); } else { -- cgit v1.2.3 From 6785b5533e1495ee597e5cf83a99aa8beefd7c1c Mon Sep 17 00:00:00 2001 From: Exouxas Date: Wed, 5 Oct 2022 16:59:58 +0200 Subject: Change version delimiter for hash to plus --- bin/build | 2 +- src/slskd/Program.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/slskd/Program.cs') diff --git a/bin/build b/bin/build index a8f1dd7e..04fd0805 100755 --- a/bin/build +++ b/bin/build @@ -42,7 +42,7 @@ done if [ -z "$version" ]; then tag=$(git describe --tags --abbrev=0) sha=$(git rev-parse --short HEAD) - version=$tag-$sha + version=$tag+$sha fi if [ "$dotnet_only" == true ]; then diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs index c9417ed8..f01dcbe4 100644 --- a/src/slskd/Program.cs +++ b/src/slskd/Program.cs @@ -131,7 +131,7 @@ namespace slskd /// /// Gets the semantic application version. /// - public static string SemanticVersion { get; } = InformationalVersion.Split('-').First(); + public static string SemanticVersion { get; } = InformationalVersion.Split('+').First(); /// /// Gets the full application version, including both assembly and informational versions. -- cgit v1.2.3