Fix: Remove invalid gRPC url regex

pull/3010/head
Nelson Chan 2 years ago
parent 511038b45a
commit 97c7ad9cc7

@ -98,7 +98,7 @@
<!-- gRPC URL --> <!-- gRPC URL -->
<div v-if="monitor.type === 'grpc-keyword' " class="my-3"> <div v-if="monitor.type === 'grpc-keyword' " class="my-3">
<label for="grpc-url" class="form-label">{{ $t("URL") }}</label> <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="url" class="form-control" required>
</div> </div>
<!-- Push URL --> <!-- Push URL -->

Loading…
Cancel
Save