mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-07 06:54:16 +00:00
Updated to rails 7.1 and ruby 3.1.4
This commit is contained in:
@@ -19,23 +19,6 @@ Wrestling::Application.configure do
|
||||
# For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid.
|
||||
# config.action_dispatch.rack_cache = true
|
||||
|
||||
# Disable Rails's static asset server (Apache or nginx will already do this).
|
||||
#This is deprecated
|
||||
#config.serve_static_assets = false
|
||||
|
||||
# Compress JavaScripts and CSS.
|
||||
config.assets.js_compressor = :uglifier
|
||||
# config.assets.css_compressor = :sass
|
||||
|
||||
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
||||
config.assets.compile = false
|
||||
|
||||
# Generate digests for assets URLs.
|
||||
config.assets.digest = true
|
||||
|
||||
# Version of your assets, change this if you want to expire all your assets.
|
||||
config.assets.version = '1.0'
|
||||
|
||||
# Specifies the header that your server uses for sending files.
|
||||
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
|
||||
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
|
||||
@@ -91,7 +74,15 @@ Wrestling::Application.configure do
|
||||
#THESE ADDED BY ME TO GET RAILS 4 WORKING IN HEROKU
|
||||
config.cache_classes = true
|
||||
config.public_file_server.enabled = true
|
||||
|
||||
## Using default asset pipeline sprockets
|
||||
#Live compile with sprockets instead of: rails assets:precompile
|
||||
config.assets.compile = true
|
||||
# Compress JavaScripts and CSS.
|
||||
config.assets.js_compressor = :uglifier
|
||||
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
||||
config.assets.compile = false
|
||||
# Generate digests for assets URLs.
|
||||
config.assets.digest = true
|
||||
|
||||
#Added by me to force SSL in production on heroku
|
||||
|
||||
Reference in New Issue
Block a user