Site shows full error details

8 months ago
My site shows a full stack trace error message in production although in appsettings.json :
"DisplayFullErrorStack": false,

what do I miss?
8 months ago
I think you might have environment variable ASPNETCORE_ENVIRONMENT = "Development"
(Either in environment variables or overridden in your web.config)
8 months ago
Thank you.