fix: warning if you use multiple domains for a service
This commit is contained in:
		@@ -59,7 +59,11 @@ class ServiceApplicationView extends Component
 | 
			
		||||
            $this->validate();
 | 
			
		||||
            $this->application->save();
 | 
			
		||||
            updateCompose($this->application);
 | 
			
		||||
            if (str($this->application->fqdn)->contains(',')) {
 | 
			
		||||
                $this->dispatch('warning', 'Some services do not support multiple domains, which can lead to problems and is NOT RECOMMENDED.');
 | 
			
		||||
            } else {
 | 
			
		||||
                $this->dispatch('success', 'Service saved.');
 | 
			
		||||
            }
 | 
			
		||||
        } catch (\Throwable $e) {
 | 
			
		||||
            return handleError($e, $this);
 | 
			
		||||
        } finally {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user