diff options
| author | transtrike <transtrike@gmail.com> | 2021-01-19 23:01:33 +0200 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2021-01-19 23:01:33 +0200 |
| commit | aa4f7bdd9a2df09fc47e82c2b85fb7647203ba8d (patch) | |
| tree | 72b1ed4e49b3fc7d6e92a952c9cb1c13ac82251e /src/DevHive.Web/Startup.cs | |
| parent | cb38f51c346722fda36215eb5e631ec36103c2bf (diff) | |
| download | DevHive-aa4f7bdd9a2df09fc47e82c2b85fb7647203ba8d.tar DevHive-aa4f7bdd9a2df09fc47e82c2b85fb7647203ba8d.tar.gz DevHive-aa4f7bdd9a2df09fc47e82c2b85fb7647203ba8d.zip | |
Config ExceptionMiddleware; Config Mapper; Fixed User editing; Implmeneted Friend add trough HttpPatch
Diffstat (limited to 'src/DevHive.Web/Startup.cs')
| -rw-r--r-- | src/DevHive.Web/Startup.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DevHive.Web/Startup.cs b/src/DevHive.Web/Startup.cs index 8fa346a..92d4359 100644 --- a/src/DevHive.Web/Startup.cs +++ b/src/DevHive.Web/Startup.cs @@ -33,7 +33,7 @@ namespace DevHive.Web services.JWTConfiguration(Configuration); services.AutoMapperConfiguration(); services.DependencyInjectionConfiguration(); - services.CustomMiddlewareConfiguration(); + services.ExceptionHandlerMiddlewareConfiguration(); } // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. @@ -53,11 +53,11 @@ namespace DevHive.Web else { app.UseHsts(); + app.UseExceptionHandlerMiddlewareConfiguration(); } app.UseDatabaseConfiguration(); app.UseAutoMapperConfiguration(); - app.UseCustomMiddlewareConfiguration(); app.UseEndpoints(endpoints => { |
