Sha256: 98c8232b4713a12988403675a7af0183fc9dd46f570ed6ca2c62a48091bc3b68
Contents?: true
Size: 1.06 KB
Versions: 10
Compression:
Stored size: 1.06 KB
Contents
Volt.configure do |config| # Setup your global app config here. # Your app secret is used for signing things like the user cookie so it can't # be tampered with. A random value is generated on new projects that will work # without the need to customize. Make sure this value doesn't leave your server. config.app_secret = '<%= SecureRandom.urlsafe_base64(50) %>' # Database config all start with db_ and can be set either in the config # file or with an environment variable (DB_NAME for example). # config.db_driver = 'mongo' # config.db_name = (config.app_name + '_' + Volt.env.to_s) # config.db_host = 'localhost' # config.db_port = 27017 # Compression options # If you are not running behind something like nginx in production, you can # have rack deflate all files. # config.deflate = true # Public configurations # Anything under config.public will be sent to the client as well as the server, # so be sure no private data ends up under public # Use username instead of email as the login # config.public.auth.use_username = true end
Version data entries
10 entries across 10 versions & 1 rubygems