mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 14:17:18 +00:00
fix instanceSettings
This commit is contained in:
1 parent
ab6d361e64
commit
4156ba8908
8 files changed
+14
-12
No files matched your search
@@ -48,8 +48,6 @@ class Application extends BaseModel
|
||||
{
|
||||
return $this->previews->modelScope();
|
||||
}
|
||||
|
||||
|
||||
public function publishDirectory(): Attribute
|
||||
{
|
||||
return Attribute::make(
|
||||
|
||||
@@ -6,4 +6,8 @@ use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class InstanceSettings extends Model
|
||||
{
|
||||
public static function get()
|
||||
{
|
||||
return InstanceSettings::findOrFail(0);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user