This commit is contained in:
Andras Bacsai 2023-12-11 21:43:53 +01:00
parent 1c71ac78e2
commit 87c3d0048c
2 changed files with 1 additions and 2 deletions

View File

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

View File

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