Fix reloadCaddy() method call in addDynamicConfiguration()
This commit is contained in:
		@@ -71,7 +71,7 @@ class NewDynamicConfiguration extends Component
 | 
				
			|||||||
                "echo '{$base64_value}' | base64 -d > {$file}",
 | 
					                "echo '{$base64_value}' | base64 -d > {$file}",
 | 
				
			||||||
            ], $this->server);
 | 
					            ], $this->server);
 | 
				
			||||||
            if ($proxy_type === 'CADDY') {
 | 
					            if ($proxy_type === 'CADDY') {
 | 
				
			||||||
                // $this->server->reloadCaddy();
 | 
					                $this->server->reloadCaddy();
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            $this->dispatch('loadDynamicConfigurations');
 | 
					            $this->dispatch('loadDynamicConfigurations');
 | 
				
			||||||
            $this->dispatch('dynamic-configuration-added');
 | 
					            $this->dispatch('dynamic-configuration-added');
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user