确保在config/environment/production.rb
文件中将以下设置设置为false:
config.consider_all_requests_local = false
Don't run your production mode like this, you may hack it that it would show errors like that. But you got all your errors in your logs.
check log/production.log for your errors.
确保在config/environments/production.rb
文件中具有以下设置:
config.consider_all_requests_local = false
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.