🐛 DNS-Hole error handling and fixes (#1419)

* 🐛 Remove url requirement

* ️ Ignore dnshole in widget when not contactable

*  Error tile for dns-control instead of load loop
This commit is contained in:
Tagaishi
2023-10-08 11:47:31 +02:00
committed by GitHub
parent 4e036315ba
commit 4945725702
4 changed files with 57 additions and 20 deletions

View File

@@ -32,7 +32,7 @@ export const adGuardApiStatusResponseSchema = z.object({
export const adGuardApiFilteringStatusSchema = z.object({
filters: z.array(
z.object({
url: z.string().url(),
url: z.string(),
name: z.string(),
last_updated: z.string().optional(),
id: z.number().nonnegative(),