fix settings access

This commit is contained in:
50h100a 2023-08-04 17:01:09 -04:00
parent 6b2455da2b
commit 4ae3e9db0a
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ const MIN_STREAMING_KCPPVERSION = '1.30';
function formatKoboldUrl(value) {
try {
const url = new URL(value);
if (power_user.settings.relaxed_api_urls) {
if (power_user.relaxed_api_urls) {
if (url.pathname.endsWith('/api')) {
return url.toString();
}