21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-02 00:40:49 +02:00

Configure TimeZone, no assets generator, force SSL

This commit is contained in:
Colin Darie 2018-05-23 11:55:58 +02:00
parent 72b718f1f4
commit d5eba63bfd
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
2 changed files with 7 additions and 2 deletions

View file

@ -1,4 +1,4 @@
require_relative 'boot'
require_relative "boot"
require "rails"
# Pick the frameworks you want:
@ -26,5 +26,10 @@ module Chexpire
# Application configuration can go into files in config/initializers
# -- all .rb files in that directory are automatically loaded after loading
# the framework and any gems in your application.
config.generators do |g|
g.assets false
end
config.time_zone = "Europe/Paris"
end
end

View file

@ -44,7 +44,7 @@ Rails.application.configure do
config.active_storage.service = :local
# 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
# when problems arise.