v1.2.41 - Fix IP Bans page: route ip_bans SQL responses to handleIpBansResponse

This commit is contained in:
Your Name
2026-02-25 06:59:22 -04:00
parent 0f124fe575
commit c11a8ba292
4 changed files with 11 additions and 5 deletions
+6
View File
@@ -5568,6 +5568,12 @@ function handleSqlQueryResponse(response) {
console.log('=== HANDLING SQL QUERY RESPONSE ===');
console.log('Response:', response);
// Route IP bans queries to the IP bans handler
if (response.query && response.query.includes('ip_bans')) {
handleIpBansResponse(response);
return;
}
// Always display SQL query results when received
displaySqlQueryResults(response);
+1 -1
View File
@@ -1 +1 @@
2375515
2377931
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -13,8 +13,8 @@
// Using CRELAY_ prefix to avoid conflicts with nostr_core_lib VERSION macros
#define CRELAY_VERSION_MAJOR 1
#define CRELAY_VERSION_MINOR 2
#define CRELAY_VERSION_PATCH 40
#define CRELAY_VERSION "v1.2.40"
#define CRELAY_VERSION_PATCH 41
#define CRELAY_VERSION "v1.2.41"
// Relay metadata (authoritative source for NIP-11 information)
#define RELAY_NAME "C-Relay"