更新时间:2023-12-04 16:53:04
感谢 EngineYard 的 Scott,我找到了解决方案
I found a fix for this thanks to Scott at EngineYard
我把它放在我的 config/environments/production.rb 的开头
I put this at the beginning of my config/environments/production.rb
class ActionDispatch::Request
def local?
false
end
end