mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 00:14:24 +00:00
preview comments
This commit is contained in:
1 parent
cafe9019c1
commit
8dbe3cfe0c
14 files changed
+157
-23
No files matched your search
@@ -81,3 +81,16 @@ function set_transanctional_email_settings()
|
||||
"local_domain" => null,
|
||||
]);
|
||||
}
|
||||
|
||||
function base_url()
|
||||
{
|
||||
$settings = InstanceSettings::get();
|
||||
if ($settings->fqdn) {
|
||||
return $settings->fqdn;
|
||||
} else {
|
||||
if (config('app.env') === 'local') {
|
||||
return url('/') . ':8080';
|
||||
}
|
||||
return url('/');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user