Minor fixes
This commit is contained in:
parent
a8362762cf
commit
1a3d5420ed
1 changed files with 1 additions and 1 deletions
|
|
@ -1033,7 +1033,7 @@ class BaseController extends Controller
|
|||
if ((bool) $this->checkAppSetup() !== false && $account = Account::first()) {
|
||||
|
||||
//always redirect invoicing.co to invoicing.co
|
||||
if(Ninja::isHosted() && !in_array(request()->getSchemeAndHttpHost(), ['https://staging.invoicing.co', 'https://invoicing.co']))
|
||||
if(Ninja::isHosted() && !in_array(request()->getSchemeAndHttpHost(), ['https://staging.invoicing.co', 'https://invoicing.co', 'https://demo.invoicing.co']))
|
||||
return redirect()->secure('https://invoicing.co');
|
||||
|
||||
if (config('ninja.require_https') && ! request()->isSecure()) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue