Match regex timer

This commit is contained in:
Alexandre
2021-09-14 22:22:38 +02:00
committed by GitHub
parent 7d00cbff0f
commit 225e49e74b

View File

@@ -83,7 +83,7 @@
"openvpn_config": "str?",
"openvpn_username": "str?",
"openvpn_password": "str?",
"run_duration": "str?",
"run_duration": "match(/[0-9]+[d|h|m|s]?\s?([0-9]+[h|m|s]\s?)?([0-9]+[m|s]\s?)?([0-9]+[s]?\s)?/i)?",
"TZ": "str?"
}
}