diff --git a/apps/web/src/views/detail.ejs b/apps/web/src/views/detail.ejs index 1fa5772..cb27bcb 100644 --- a/apps/web/src/views/detail.ejs +++ b/apps/web/src/views/detail.ejs @@ -182,6 +182,17 @@ +
+ +
+ <% [['eu-central','πŸ‡©πŸ‡ͺ EU Central'],['us-east','πŸ‡ΊπŸ‡Έ US East'],['us-west','πŸ‡ΊπŸ‡Έ US West'],['ap-southeast','πŸ‡ΈπŸ‡¬ AP Southeast']].forEach(function([val, label]) { %> + + <% }) %> +
+
+

Define up/down conditions. Defaults to status < 400.

@@ -267,6 +278,7 @@ const rb = document.getElementById('edit-request-body').value.trim(); body.request_body = rb || null; if (editQuery) body.query = editQuery; + body.regions = [...document.querySelectorAll('.edit-region-check:checked')].map(el => el.value); await api(`/monitors/${monitorId}`, { method: 'PATCH', body }); location.reload(); } catch (err) {