Files
web/scripts/js
DL6ER c3b3db257e Show the API error message when adding from the query log fails
Adding a domain from the query log opens a modal that, on any HTTP
error, showed a fixed "Timeout or Network Connection Error!" text. The
most common case - the domain is already on the list - is returned by
FTL as HTTP 400 with `{"error":{"hint":"The item is already present"}}`,
so it surfaced as a misleading network error.

We now read the JSON error body and show its hint (or message), falling
back to the network-error text only when there genuinely is no response
body.

Signed-off-by: DL6ER <dl6er@dl6er.de>
2026-07-27 12:12:22 +02:00
..
2026-03-16 08:55:20 +01:00
2025-06-27 21:19:40 +03:00
2025-04-23 20:50:12 +03:00
2025-05-12 18:46:36 +03:00