mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-20 21:41:32 +01:00
fix settings access
This commit is contained in:
parent
6b2455da2b
commit
4ae3e9db0a
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user