Staging to Production #51
@@ -50,9 +50,8 @@ try
|
|||||||
|
|
||||||
app.UseDefaultSerilogRequestLogging();
|
app.UseDefaultSerilogRequestLogging();
|
||||||
app.UseJsonExceptionHandler(ServiceName);
|
app.UseJsonExceptionHandler(ServiceName);
|
||||||
app.UseSwaggerInDevelopment("Email API", "EmailAPI");
|
|
||||||
|
|
||||||
app.UseInternalApiKeyProtection();
|
app.UseInternalApiKeyProtection();
|
||||||
|
app.UseSwaggerInDevelopment("Email API", "EmailAPI");
|
||||||
|
|
||||||
app.UseRouting();
|
app.UseRouting();
|
||||||
app.UseAuthorization();
|
app.UseAuthorization();
|
||||||
|
|||||||
Reference in New Issue
Block a user