diff options
author | David Gay <david@davidgay.org> | 2021-06-07 22:30:04 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-06-07 22:30:04 -0400 |
commit | 5cb5a60cb326a47b969df9c21c7b0f16c50f7a2a (patch) | |
tree | 7fb071568b45b7143f05439b7a5a14ac7f23935c | |
parent | 1ce30dfa9d560ef353ad639ad8420b15983eaad2 (diff) |
Serve static assets in prod, at least for now, for web worker
-rw-r--r-- | CHANGELOG.md | 5 | ||||
-rw-r--r-- | config/environments/production.rb | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 184d05d..cfa7dc3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog All notable changes to this project will be documented in this file. +## [0.1.9.1] - 2021-06-07 + +### Fixed +- Timer wasn't working due to the server not serving the web worker. + ## [0.1.9] - 2021-06-07 ### General diff --git a/config/environments/production.rb b/config/environments/production.rb index 4333530..0100c2d 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -23,6 +23,7 @@ Rails.application.configure do # Disable serving static files from the `/public` folder by default since # Apache or NGINX already handles this. config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present? + config.serve_static_assets = true # Compress CSS using a preprocessor. # config.assets.css_compressor = :sass |