Hello,
Is there any server hook for plugin that triggers when the server config is updated?
Example Scenario:
Suppose I am keeping record of instance some where else, here maybe the instance name. The instance name can be changed from the /admin/config/edit-custom#instance-information
and when it gets changed I want to automatically update it in my external storage where I am keeping some instance related information. What I want is a hook that triggers when the instance config gets updated so that I can write my own logic to update external storage.
const serverConfig = await peertubeHelpers.config.getServerConfig();
const serverName = serverConfig.instance.name;