added application name in config/

This commit is contained in:
clemkeirua 2020-07-23 16:05:58 +02:00
parent 52548d7646
commit c658428441
3 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@ Devise.setup do |config|
# Configure the e-mail address which will be shown in Devise::Mailer,
# note that it will be overwritten if you use your own mailer class
# with default "from" parameter.
config.mailer_sender = "demarches-simplifiees.fr <#{CONTACT_EMAIL}>"
config.mailer_sender = "#{APPLICATION_NAME} <#{CONTACT_EMAIL}>"
# Configure the class responsible to send e-mails.
config.mailer = 'DeviseUserMailer'

View file

@ -5,7 +5,7 @@ GraphQL::RailsLogger.configure do |config|
end
GraphqlPlayground::Rails.configure do |config|
config.title = "demarches-simplifiees.fr"
config.title = APPLICATION_NAME
config.settings = {
"schema.polling.enable": false
}

View file

@ -1 +1 @@
Typhoeus::Config.user_agent = "demarches-simplifiees.fr"
Typhoeus::Config.user_agent = APPLICATION_NAME