Heroku testing
This commit is contained in:
parent
75b6259fee
commit
586bc06408
|
@ -62,6 +62,7 @@ $app
|
|||
|
||||
if(false === getenv('SPARKPOST_API_KEY')) {
|
||||
$app['swiftmailer.transport'] = new Swift_SendmailTransport();
|
||||
$app->log('We are local');
|
||||
} else {
|
||||
$app['swiftmailer.options'] = [
|
||||
'host' => getenv('SPARKPOST_SMTP_HOST'),
|
||||
|
@ -71,6 +72,7 @@ $app
|
|||
'encryption' => 'tls',
|
||||
'auth_mode' => 'plain',
|
||||
];
|
||||
$app->log('We are on heroku.');
|
||||
}
|
||||
|
||||
$app->register(new RoutingServiceProvider())
|
||||
|
|
Loading…
Reference in New Issue