Is there any server hook for plugin that triggers when the server config is updated?

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;

Hi,

No there is no such hook. Can you create an issue on GitHub - Chocobozzz/PeerTube: ActivityPub-federated video streaming platform using P2P directly in your web browser?