Last active
November 2, 2022 11:43
-
-
Save MartinZikmund/2aa75419eb6a0bbbfebe5d44814a586f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Uno.Wasm.Bootstrap.Server; | |
... | |
app.UseAuthentication(); | |
app.UseAuthorization(); | |
app.UseUnoFrameworkFiles(); | |
app.MapFallbackToFile("index.html"); | |
app.UseEndpoints(endpoints => | |
{ | |
//endpoints.MapBlazorHub(); | |
//endpoints.MapFallbackToPage("/_Host"); | |
endpoints.MapControllers(); | |
}); | |
app.Run(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment