This commit is contained in:
2020-09-02 15:49:26 +08:00
parent 13aeefd2d3
commit 7e7996dab0
+1 -1
View File
@@ -130,7 +130,7 @@ class Server extends Application
*/ */
private function create($config) private function create($config)
{ {
$settings = $config['settings'] ?? []; $settings = Config::get('settings', false, []);
if (!isset($this->server[$config['type']])) { if (!isset($this->server[$config['type']])) {
throw new Exception('Unknown server type(' . $config['type'] . ').'); throw new Exception('Unknown server type(' . $config['type'] . ').');
} }