feat: gzip enabled & stipprefix setting
refactor: code
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user