本地开发会出现 ASPNETCORE_ENVIRONMENT 的错误

Error.

An error occurred while processing your request.

Request ID: |af9372dd-4b0d7d8cf3ebc5ef.

Development Mode

Swapping to Development environment will display more detailed information about the error that occurred.

Development environment should not be enabled in deployed applications, as it can result in sensitive information from exceptions being displayed to end users. For local debugging, development environment can be enabled by setting the ASPNETCORE_ENVIRONMENT environment variable to Development, and restarting the application.

 

以上是错误,我用的IdentityServer4做的单点登录,客户端认证跳转到服务端登录时就会出现这个错误


浮云间
浏览 1861回答 1
1回答

慕盖茨4494581

规定的范围不一致 ==
打开App,查看更多内容
随时随地看视频慕课网APP