diff --git a/app/Models/Service.php b/app/Models/Service.php index 51fc66b11..cc60a8cad 100644 --- a/app/Models/Service.php +++ b/app/Models/Service.php @@ -53,7 +53,7 @@ class Service extends BaseModel { $services = Cache::get('services', []); $service = data_get($services, Str::of($this->name)->beforeLast('-')->value, []); - return data_get($service, 'documentation', 'https://coolify.io/docs'); + return data_get($service, 'documentation', config('constants.docs.base_url')); } public function applications() { diff --git a/config/constants.php b/config/constants.php index b93ac184e..d001bc2b3 100644 --- a/config/constants.php +++ b/config/constants.php @@ -1,6 +1,10 @@ [ + 'docs' => [ + 'base_url' => 'https://coolify.io/docs', + 'contact' => 'https://coolify.io/docs/contact', + ], + 'ssh' => [ 'connection_timeout' => 10, 'server_interval' => 20, 'command_timeout' => 7200, @@ -18,7 +22,7 @@ return [ 'official' => 'https://cdn.coollabs.io/coolify/service-templates.json', ], 'limits' => [ - 'trial_period'=> 7, + 'trial_period' => 7, 'server' => [ 'zero' => 0, 'self-hosted' => 999999999999, diff --git a/resources/views/auth/forgot-password.blade.php b/resources/views/auth/forgot-password.blade.php index 04a9a5695..d52a5b4e3 100644 --- a/resources/views/auth/forgot-password.blade.php +++ b/resources/views/auth/forgot-password.blade.php @@ -15,14 +15,13 @@ @if (is_transactional_emails_active())
@else