mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-25 05:34:08 -08:00
Use existing Example translation for HTTP headers and body placeholders
This commit is contained in:
parent
9c5466890e
commit
c1b118a0f6
|
@ -353,17 +353,17 @@ export default {
|
|||
},
|
||||
|
||||
bodyPlaceholder() {
|
||||
return `Example:
|
||||
return this.$t("Example:", [`
|
||||
{
|
||||
"key": "value"
|
||||
}`;
|
||||
}`]);
|
||||
},
|
||||
|
||||
headersPlaceholder() {
|
||||
return `Example:
|
||||
return this.$t("Example:", [`
|
||||
{
|
||||
"HeaderName": "HeaderValue"
|
||||
}`;
|
||||
}`]);
|
||||
}
|
||||
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue