mirror of
https://github.com/Evolix/chexpire.git
synced 2024-05-15 15:08:38 +02:00
Configure TimeZone, no assets generator, force SSL
This commit is contained in:
parent
72b718f1f4
commit
d5eba63bfd
|
@ -1,4 +1,4 @@
|
||||||
require_relative 'boot'
|
require_relative "boot"
|
||||||
|
|
||||||
require "rails"
|
require "rails"
|
||||||
# Pick the frameworks you want:
|
# Pick the frameworks you want:
|
||||||
|
@ -26,5 +26,10 @@ module Chexpire
|
||||||
# Application configuration can go into files in config/initializers
|
# Application configuration can go into files in config/initializers
|
||||||
# -- all .rb files in that directory are automatically loaded after loading
|
# -- all .rb files in that directory are automatically loaded after loading
|
||||||
# the framework and any gems in your application.
|
# the framework and any gems in your application.
|
||||||
|
config.generators do |g|
|
||||||
|
g.assets false
|
||||||
|
end
|
||||||
|
|
||||||
|
config.time_zone = "Europe/Paris"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -44,7 +44,7 @@ Rails.application.configure do
|
||||||
config.active_storage.service = :local
|
config.active_storage.service = :local
|
||||||
|
|
||||||
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
||||||
# config.force_ssl = true
|
config.force_ssl = true
|
||||||
|
|
||||||
# Use the lowest log level to ensure availability of diagnostic information
|
# Use the lowest log level to ensure availability of diagnostic information
|
||||||
# when problems arise.
|
# when problems arise.
|
||||||
|
|
Loading…
Reference in a new issue