mirror of
https://github.com/tiennm99/coolify.git
synced 2026-04-17 17:21:04 +00:00
Enable API by default in development mode
- API is now enabled by default when running in development mode - Production instances keep API disabled by default (existing behavior) - Uses isDev() helper to determine environment 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -16,6 +16,7 @@ class InstanceSettingsSeeder extends Seeder
|
|||||||
InstanceSettings::create([
|
InstanceSettings::create([
|
||||||
'id' => 0,
|
'id' => 0,
|
||||||
'is_registration_enabled' => true,
|
'is_registration_enabled' => true,
|
||||||
|
'is_api_enabled' => isDev(),
|
||||||
'smtp_enabled' => true,
|
'smtp_enabled' => true,
|
||||||
'smtp_host' => 'coolify-mail',
|
'smtp_host' => 'coolify-mail',
|
||||||
'smtp_port' => 1025,
|
'smtp_port' => 1025,
|
||||||
|
|||||||
Reference in New Issue
Block a user