feat: adding custom/default user agent support for http monitors
This commit is contained in:
1 parent
4222d39a8b
commit
babe5ae177
19 files changed
+104
-4
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user