mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 20:04:31 -04:00
Fix for tests
This commit is contained in:
parent
3f29027ec2
commit
d7ac1cd33b
@ -30,10 +30,12 @@ class StartupCheck
|
|||||||
*/
|
*/
|
||||||
public function handle(Request $request, Closure $next)
|
public function handle(Request $request, Closure $next)
|
||||||
{
|
{
|
||||||
define('CONTACT_EMAIL', config('mail.from.address'));
|
if (!defined('CONTACT_EMAIL')) {
|
||||||
define('CONTACT_NAME', config('mail.from.name'));
|
define('CONTACT_EMAIL', config('mail.from.address'));
|
||||||
define('SITE_URL', config('app.url'));
|
define('CONTACT_NAME', config('mail.from.name'));
|
||||||
|
define('SITE_URL', config('app.url'));
|
||||||
|
}
|
||||||
|
|
||||||
// Set up trusted X-Forwarded-Proto proxies
|
// Set up trusted X-Forwarded-Proto proxies
|
||||||
// TRUSTED_PROXIES accepts a comma delimited list of subnets
|
// TRUSTED_PROXIES accepts a comma delimited list of subnets
|
||||||
// ie, TRUSTED_PROXIES='10.0.0.0/8,172.16.0.0/12,192.168.0.0/16'
|
// ie, TRUSTED_PROXIES='10.0.0.0/8,172.16.0.0/12,192.168.0.0/16'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user