Resolved authentication issue #441 related to alias refactoring #439, fixed breaking change in .NET Core 3.2 related to Blazor WebAssembly identification

This commit is contained in:
Shaun Walker
2020-05-05 16:28:50 -04:00
parent e09fcd7e42
commit c394c6ea7a
32 changed files with 34 additions and 34 deletions

View File

@ -471,7 +471,7 @@
}
private Runtime GetRuntime()
=> RuntimeInformation.IsOSPlatform(OSPlatform.Create("WEBASSEMBLY"))
=> RuntimeInformation.IsOSPlatform(OSPlatform.Create("BROWSER"))
? Runtime.WebAssembly
: Runtime.Server;
}