更新时间:2023-10-19 07:51:52
Per this article, you will need to tell Rails to serve static assets itself with:
config.serve_static_assets = true
in your config/environments/production.rb
config/environments/production.rb
在heroku上运行rails应用程序,无法在/ public文件夹中看到静态页面