fixed app url issue

This commit is contained in:
Denis Duliçi
2021-05-17 10:57:13 +03:00
parent 03c960d7e9
commit bdb51a27a4
5 changed files with 21 additions and 11 deletions

View File

@ -50,8 +50,10 @@ class Overrider
app()->setLocale(setting('default.locale'));
}
// Set app url dynamically
config(['app.url' => url('/')]);
// Set app url dynamically if empty
if (!config('app.url')) {
config(['app.url' => url('/')]);
}
}
protected static function loadCurrencies()