Merge pull request #3010 from chakflying/fix/grpc-invalid-regex

Fix: Remove invalid gRPC url regex
pull/2867/head^2
Louis Lam 2 years ago committed by GitHub
commit af6e01ee3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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