@sm1/http-error-manager
Advanced tools
@@ -9,2 +9,4 @@ "use strict"; | ||
| getModal(inputUrl, inputErrorCode) { | ||
| inputUrl = inputUrl.replace(/^.*\/\/[^\/]+/, ''); | ||
| inputUrl = inputUrl.split('?')[0]; | ||
| try { | ||
@@ -11,0 +13,0 @@ // trovo l'api con l'errore |
@@ -6,2 +6,4 @@ export class HttpErrorProcessor { | ||
| getModal(inputUrl, inputErrorCode) { | ||
| inputUrl = inputUrl.replace(/^.*\/\/[^\/]+/, ''); | ||
| inputUrl = inputUrl.split('?')[0]; | ||
| try { | ||
@@ -8,0 +10,0 @@ // trovo l'api con l'errore |
+1
-1
| { | ||
| "name": "@sm1/http-error-manager", | ||
| "version": "1.3.0", | ||
| "version": "1.3.1", | ||
| "description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib/cjs/index.js", |
5538
3.86%126
3.28%