feat: adding custom/default user agent support for http monitors

This commit is contained in:
mannilakash committed 2026-04-01 17:27:28 -04:00
1 parent 4222d39a8b
commit babe5ae177
19 files changed
+104 -4

No files matched your search

+5
View File
@@ -12,6 +12,11 @@ export const settingsSchema = z.object({
systemEmailSecure: z.boolean().optional(),
systemEmailPool: z.boolean().optional(),
showURL: z.boolean().optional(),
defaultUserAgent: z
.string()
.max(500)
.transform((val) => (val.trim() === "" ? null : val.trim()))
.optional(),
checkTTL: z
.number()
.int()