In the documentation, in order to disable preview generation, the config value is set as lazy:
|
By default Nextcloud will generate previews of Office files using the Collabora file conversion endpoint. This can be turned off through |
|
|
|
occ config:app:set richdocuments preview_generation --type boolean --lazy --value false |
|
|
When the configuration value is actually loaded, only non-lazy values are loaded, since getAppValueBool() defaults to non-lazy if not explicitly set.
|
public function isPreviewGenerationEnabled(): bool { |
|
return $this->appConfig->getAppValueBool('preview_generation', true); |
|
} |
In the documentation, in order to disable preview generation, the config value is set as lazy:
richdocuments/docs/app_settings.md
Lines 40 to 43 in dbaf059
When the configuration value is actually loaded, only non-lazy values are loaded, since getAppValueBool() defaults to non-lazy if not explicitly set.
richdocuments/lib/AppConfig.php
Lines 247 to 249 in dbaf059