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