1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Merge pull request #3930 from turbo124/v2

Fixes for index version parameter
This commit is contained in:
David Bomba 2020-07-24 15:58:50 +10:00 committed by GitHub
commit 053d050202
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ class CompanyFactory
//$company->custom_fields = (object) ['invoice1' => '1', 'invoice2' => '2', 'client1'=>'3'];
$company->custom_fields = (object) [];
$company->subdomain = '';
$company->enabled_modules = 32767;//8191; //4095
$company->enabled_modules = config('ninja.enabled_modules'); //32767;//8191; //4095
return $company;
}

View File

@ -26,7 +26,7 @@ return [
'company_id' => 0,
'hash_salt' => env('HASH_SALT', ''),
'currency_converter_api_key' => env('OPENEXCHANGE_APP_ID',''),
'enabled_modules' => 4095,
'enabled_modules' => 32767,
'environment' => env('NINJA_ENVIRONMENT', 'selfhost'), // 'hosted', 'development', 'selfhost', 'reseller'

View File

@ -5,7 +5,7 @@
<title>Invoice Ninja</title>
<meta name="report_errors" content="{{ $report_errors }}">
<meta name="google-signin-client_id" content="{{ config('services.google.client_id') }}">
<link rel="manifest" href="manifest.json?v={{sha1(time())}}">
<link rel="manifest" href="manifest.json?v={{ md5(config('ninja.app_version')) }}">
</head>
<body style="background-color:#888888;">
@ -84,7 +84,7 @@
});
</script>
<script defer src="main.dart.js?version={{ config('ninja.app_version') }}" type="application/javascript"></script>
<script defer src="main.dart.js?v={{ md5(config('ninja.app_version')) }}" type="application/javascript"></script>
<center style="padding-top: 150px" id="loader">
<div class="loader"></div>