mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-07 21:42:34 +02:00
fix(edit-monitor): remove keyword inputfield and status code prop
This commit is contained in:
parent
7d4928a26f
commit
803e325c60
1 changed files with 1 additions and 10 deletions
|
@ -51,15 +51,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Keyword -->
|
|
||||||
<div v-if="monitor.type === 'keyword' " class="my-3">
|
|
||||||
<label for="keyword" class="form-label">{{ $t("Keyword") }}</label>
|
|
||||||
<input id="keyword" v-model="monitor.keyword" type="text" class="form-control" required>
|
|
||||||
<div class="form-text">
|
|
||||||
{{ $t("keywordDescription") }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- TCP Port / Ping / DNS only -->
|
<!-- TCP Port / Ping / DNS only -->
|
||||||
<div v-if="monitor.type === 'port' || monitor.type === 'ping' || monitor.type === 'dns' " class="my-3">
|
<div v-if="monitor.type === 'port' || monitor.type === 'ping' || monitor.type === 'dns' " class="my-3">
|
||||||
<label for="hostname" class="form-label">{{ $t("Hostname") }}</label>
|
<label for="hostname" class="form-label">{{ $t("Hostname") }}</label>
|
||||||
|
@ -340,7 +331,7 @@ export default {
|
||||||
ignoreTls: false,
|
ignoreTls: false,
|
||||||
upsideDown: false,
|
upsideDown: false,
|
||||||
maxredirects: 10,
|
maxredirects: 10,
|
||||||
accepted_statuscodes: ["200-299"],
|
checks: [],
|
||||||
dns_resolve_type: "A",
|
dns_resolve_type: "A",
|
||||||
dns_resolve_server: "1.1.1.1",
|
dns_resolve_server: "1.1.1.1",
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue