diff --git a/MyApp/Program.cs b/MyApp/Program.cs index 0af4088..924663e 100644 --- a/MyApp/Program.cs +++ b/MyApp/Program.cs @@ -70,8 +70,6 @@ app.UseHttpsRedirection(); -app.MapFallbackToFile("/index.html"); - app.UseAuthorization(); app.UseServiceStack(new AppHost(), options => @@ -79,4 +77,6 @@ options.MapEndpoints(); }); +app.MapFallbackToFile("/index.html"); + app.Run();