Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4914b05

Browse files
author
Frank Natividad
committed
Reverting Rails 5 updates
1 parent a14b3d2 commit 4914b05

File tree

2 files changed

+3
-3
lines changed
  • 2-cloud-datastore/config/environments
  • 3-cloud-storage/config/environments

2 files changed

+3
-3
lines changed

2-cloud-datastore/config/environments/test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
config.eager_load = false
2727

2828
# Configure static file server for tests with Cache-Control for performance.
29-
config.serve_static_files = true
29+
config.serve_static_files = true
3030
config.static_cache_control = 'public, max-age=3600'
3131

3232
# Show full error reports and disable caching.

3-cloud-storage/config/environments/test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
config.eager_load = false
2727

2828
# Configure static file server for tests with Cache-Control for performance.
29-
config.serve_static_files = true
30-
config.public_file_server.headers = 'public, max-age=3600'
29+
config.serve_static_files = true
30+
config.static_cache_control = 'public, max-age=3600'
3131

3232
# Show full error reports and disable caching.
3333
config.consider_all_requests_local = true

0 commit comments

Comments
 (0)