feat: gzip enabled & stipprefix setting

refactor: code
This commit is contained in:
Andras Bacsai committed 2024-03-04 10:46:13 +01:00
1 parent cee6b54033
commit 8385bbb0a0
32 files changed
+154 -62

No files matched your search

+6 -2
View File
@@ -19,11 +19,15 @@ class ServiceApplication extends BaseModel
$service->fileStorages()->delete();
});
}
public function isLogDrainEnabled()
public function is_log_drain_enabled()
{
return data_get($this, 'is_log_drain_enabled', false);
}
public function isGzipEnabled()
public function is_stripprefix_enabled()
{
return data_get($this, 'is_stripprefix_enabled', true);
}
public function is_gzip_enabled()
{
return data_get($this, 'is_gzip_enabled', true);
}