From cff6d8d74e199bb5ffdd7d77f9a8f473c70f4114 Mon Sep 17 00:00:00 2001 From: patrikx3 Date: Sat, 30 Mar 2024 06:30:19 +0100 Subject: [PATCH] r0b08x [chore] 3/30/2024, 6:30:19 AM --- README.md | 4 ++-- package.json | 2 +- src/angular/dialog/p3xr-dialog-connection.js | 2 +- src/angular/factory/p3xr-socket.js | 4 +++- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 47fac56..87e360b 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ https://corifeus.com/redis-ui --- -# 💿 The p3x-redis-ui-material web interface that connects to the p3x-redis-ui-server via http and socket.io v2024.4.184 +# 💿 The p3x-redis-ui-material web interface that connects to the p3x-redis-ui-server via http and socket.io v2024.4.185 @@ -77,7 +77,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https:// --- -[**P3X-REDIS-UI-MATERIAL**](https://corifeus.com/redis-ui-material) Build v2024.4.184 +[**P3X-REDIS-UI-MATERIAL**](https://corifeus.com/redis-ui-material) Build v2024.4.185 [![NPM](https://img.shields.io/npm/v/p3x-redis-ui-material.svg)](https://www.npmjs.com/package/p3x-redis-ui-material) [![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software) diff --git a/package.json b/package.json index 6a435a2..e798c58 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "p3x-redis-ui-material", - "version": "2024.4.184", + "version": "2024.4.185", "description": "💿 The p3x-redis-ui-material web interface that connects to the p3x-redis-ui-server via http and socket.io", "corifeus": { "icon": "fas fa-database", diff --git a/src/angular/dialog/p3xr-dialog-connection.js b/src/angular/dialog/p3xr-dialog-connection.js index 31e7ede..ecadbdd 100644 --- a/src/angular/dialog/p3xr-dialog-connection.js +++ b/src/angular/dialog/p3xr-dialog-connection.js @@ -193,7 +193,7 @@ p3xr.ng.factory('p3xrDialogConnection', function (p3xrCommon, $mdDialog, p3xrSoc model: authModel }, }) - //console.warn('response', response) + console.warn('response', response) p3xrCommon.toast({ message: p3xr.strings.status.redisConnected }) diff --git a/src/angular/factory/p3xr-socket.js b/src/angular/factory/p3xr-socket.js index 6dea046..471c12e 100644 --- a/src/angular/factory/p3xr-socket.js +++ b/src/angular/factory/p3xr-socket.js @@ -1,4 +1,4 @@ -p3xr.ng.factory('p3xrSocket', function ($rootScope, p3xrCommon, $state) { +p3xr.ng.factory('p3xrSocket', function ($rootScope, p3xrCommon, $state, $cookies ) { // socket.io now auto-configures its connection when we ommit a connection url const ioOptions = { @@ -63,6 +63,8 @@ p3xr.ng.factory('p3xrSocket', function ($rootScope, p3xrCommon, $state) { if (!connectErrorWas) { connectErrorWas = true; try { + $cookies.remove(p3xr.settings.connectInfo.cookieName) + p3xrCommon.generalHandleError(error) $state.go('socketio-error', {