Skip to content

Commit e38efcc

Browse files
committed
- workaround
1 parent fc3f00f commit e38efcc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Botticelli/Extensions/StartupExtensions.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ public static IServiceCollection AddIdentity(this IServiceCollection services)
6363
public static IWebHostBuilder AddSsl(this IWebHostBuilder builder, IConfiguration config)
6464
{
6565
// in Linux put here: ~/.dotnet/corefx/cryptography/x509stores/
66+
if (!OperatingSystem.IsWindows()) return builder;
67+
6668
var store = new X509Store(StoreName.My, StoreLocation.LocalMachine);
6769
store.Open(OpenFlags.ReadOnly);
6870
int port = int.Parse(config["ServerSettings:httpsPort"]!);

deploy/linux/server/front/run_standalone.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ function check_and_setup()
44
}
55

66
sudo apt-get update
7-
sudo apt-get install -y dotnet-sdk-7.0 dotnet-runtime-7.0 aspnetcore-runtime-7.0
7+
sudo apt-get install -y dotnet-sdk-8.0 dotnet-runtime-8.0 aspnetcore-runtime-8.0
88

99
rm -rf botticelli/
1010
git clone https://github.com/devgopher/botticelli.git

0 commit comments

Comments
 (0)