| 633 | } |
| 634 | |
| 635 | static void ReadPlugin(IIniReader* reader) |
| 636 | { |
| 637 | if (reader->ReadSection("plugin")) |
| 638 | { |
| 639 | auto model = &_config.plugin; |
| 640 | model->enableHotReloading = reader->GetBoolean("enable_hot_reloading", false); |
| 641 | model->allowedHosts = reader->GetString("allowed_hosts", ""); |
| 642 | } |
| 643 | } |
| 644 | |
| 645 | static void WritePlugin(IIniWriter* writer) |
| 646 | { |
no test coverage detected