From c1ab0212e5350b154e5be9e7b0568c0e1066d70a Mon Sep 17 00:00:00 2001 From: 50h100a Date: Mon, 7 Aug 2023 17:10:05 -0400 Subject: [PATCH] update comments --- public/scripts/kai-settings.js | 2 +- public/scripts/textgen-settings.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/scripts/kai-settings.js b/public/scripts/kai-settings.js index 5ca4f5a5b..07bb1b0d1 100644 --- a/public/scripts/kai-settings.js +++ b/public/scripts/kai-settings.js @@ -43,7 +43,7 @@ function formatKoboldUrl(value) { url.pathname = '/api'; } return url.toString(); - } catch { } // Try and Catch both fall through to the same return. + } catch { } // Just using URL as a validation check return null; } diff --git a/public/scripts/textgen-settings.js b/public/scripts/textgen-settings.js index cbc92ae8d..bb8ebdc48 100644 --- a/public/scripts/textgen-settings.js +++ b/public/scripts/textgen-settings.js @@ -106,7 +106,7 @@ function formatTextGenURL(value) { url.pathname = '/api'; } return url.toString(); - } catch { } // Try and Catch both fall through to the same return. + } catch { } // Just using URL as a validation check return null; }