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; }