mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge branch 'v5-develop' of https://github.com/turbo124/invoiceninja into v5-develop
This commit is contained in:
commit
fb5b27323e
@ -765,6 +765,9 @@ class BaseController extends Controller
|
||||
if(request()->has('build')) {
|
||||
$build = request()->input('build');
|
||||
}
|
||||
elseif(Ninja::isHosted()){
|
||||
return 'main.dart.js';
|
||||
}
|
||||
|
||||
switch ($build) {
|
||||
case 'wasm':
|
||||
@ -778,11 +781,8 @@ class BaseController extends Controller
|
||||
case 'profile':
|
||||
return 'main.profile.dart.js';
|
||||
default:
|
||||
return 'main.foss.dart.js';
|
||||
|
||||
if(Ninja::isSelfHost())
|
||||
return 'main.foss.dart.js';
|
||||
|
||||
return 'main.dart.js';
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user