Add fallback UI, HTTP warning, and disable Wasm native builds
Added a fallback UI in `App.razor` to handle startup failures, including a message for unsupported browsers and a reload button. Updated `blazor.web.js` to use `autostart="false"` and added JavaScript for error handling. Introduced an HTTP warning in `LoginReceiverPage.razor` to alert users when using an unencrypted connection. Added the `IsSecureRequest` property to determine if the request is secure. Disabled native WebAssembly builds by setting `<WasmBuildNative>` to `false` in `EnvelopeGenerator.Server.Client.csproj` and `publish.bat`. Incremented version numbers in `EnvelopeGenerator.Server.csproj` to `1.11.0-beta`. Added new CSS classes for styling the fallback UI.
This commit is contained in:
@@ -59,7 +59,7 @@ dotnet publish "%PROJECT%" ^
|
||||
-f %FRAMEWORK% ^
|
||||
--self-contained true ^
|
||||
--runtime %RID% ^
|
||||
-p:WasmBuildNative=true ^
|
||||
-p:WasmBuildNative=false ^
|
||||
-m:4 ^
|
||||
-o "%OUTPUT%"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user