mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-11-04 05:36:13 +08:00 
			
		
		
		
	Resolved issue with using IP Address as GRPC URL
I've been having an issue with trying to use an IPAddress Host:Port combination in monitoring my GRPC instances. This was because the input type was set to url instead of text. Even if the pattern passes the match test, the url would block as it requires a fully qualified domain name with HTTP and this would fail to submit
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							94c3861608
						
					
				
				
					commit
					6fc34e44d9
				
			@@ -98,7 +98,7 @@
 | 
			
		||||
                            <!-- gRPC URL -->
 | 
			
		||||
                            <div v-if="monitor.type === 'grpc-keyword' " class="my-3">
 | 
			
		||||
                                <label for="grpc-url" class="form-label">{{ $t("URL") }}</label>
 | 
			
		||||
                                <input id="grpc-url" v-model="monitor.grpcUrl" type="url" class="form-control" pattern="[^\:]+:[0-9]{5}" required>
 | 
			
		||||
                                <input id="grpc-url" v-model="monitor.grpcUrl" type="text" class="form-control" pattern="[^\:]+:[0-9]{5}" required>
 | 
			
		||||
                            </div>
 | 
			
		||||
 | 
			
		||||
                            <!-- Push URL -->
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user