如题,将.net core项目发布到CentOS,结果出现一大堆js css找不到的错误,何解?请博友们帮忙解答😂😂😂
至少给两个截图吧,一个表示发布的目录下真有这些js,另一个显示找不到的错误信息,包括访问路径
这样才好解答
Sorry,还在公交上,一会儿到公司上图
路径问题啊
我猜测也是路径问题,可能是用nginx反向代理的时候,路径有点问题
不是路径问题,就是大小写的问题,Linux是区分大小的
已解决了,是因为nginx反向代理时,写错了路径,不过又出现了新问题
Error.
An error occurred while processing your request.
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.
以上是错误信息,不知道哪儿没有配置还是配置错误。