This commit is contained in:
Andras Bacsai 2023-12-11 21:35:09 +01:00
parent 41181cac12
commit 1c71ac78e2
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
return [
'docs' => 'https://coolify.io/docs/contact',
'autoupdate' => env('AUTOUPDATE', null),
'self_hosted' => env('SELF_HOSTED', true),
'waitlist' => env('WAITLIST', false),
'license_url' => 'https://licenses.coollabs.io',

View File

@ -21,7 +21,7 @@
</form>
<h2 class="pt-6">Advanced</h2>
<div class="flex flex-col py-6 text-right w-80">
@if(isset(env('AUTOUPDATE')))
@if(config('autoupdate'))
<x-forms.checkbox instantSave helper="AUTOUPDATE is set in .env file, you need to modify it there." disabled
id="is_auto_update_enabled" label="Auto Update Coolify" />
@else