Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

523 B
Raw Blame
@props(['message' => 'This feature uses the Coolify API.'])

@unless (instanceSettings()->is_api_enabled)
    <x-callout type="warning" title="API access is turned off" {{ $attributes }}>
        {{ $message }}
        @if (isInstanceAdmin())
            <div class="mt-2">
                <a href="{{ route('settings.advanced') }}" class="button" {{ wireNavigate() }}>Enable API access</a>
            </div>
        @else
            Ask an instance admin to enable API access.
        @endif
    </x-callout>
@endunless