mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01: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')) {
|
if(request()->has('build')) {
|
||||||
$build = request()->input('build');
|
$build = request()->input('build');
|
||||||
}
|
}
|
||||||
|
elseif(Ninja::isHosted()){
|
||||||
|
return 'main.dart.js';
|
||||||
|
}
|
||||||
|
|
||||||
switch ($build) {
|
switch ($build) {
|
||||||
case 'wasm':
|
case 'wasm':
|
||||||
@ -776,13 +779,10 @@ class BaseController extends Controller
|
|||||||
case 'next':
|
case 'next':
|
||||||
return 'main.next.dart.js';
|
return 'main.next.dart.js';
|
||||||
case 'profile':
|
case 'profile':
|
||||||
return 'main.profile.dart.js';
|
return 'main.profile.dart.js';
|
||||||
default:
|
default:
|
||||||
|
return 'main.foss.dart.js';
|
||||||
|
|
||||||
if(Ninja::isSelfHost())
|
|
||||||
return 'main.foss.dart.js';
|
|
||||||
|
|
||||||
return 'main.dart.js';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user