1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-12 05:39:00 +09:00
This commit is contained in:
kakkokari-gtyih 2024-06-07 19:45:59 +09:00
parent 6a7ed7e0d1
commit c77d897880

View File

@ -183,6 +183,14 @@ export class Storage<T extends StateDef> {
});
}
/**
* Sets the configuration options for Pizzax.
*
* initを待ったりとかはしないのでboot.jsなど
*
* @param config - The partial configuration object.
*/
public setConfig(config: Partial<PizzaxConfig>) {
this.options = Object.assign(this.options, config);
}