Skip to content

Commit 313b081

Browse files
committed
fix: custom apiUrl does not work
1 parent a69e420 commit 313b081

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/page/settings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ function AISummarySettings() {
712712
await updateConfig({
713713
provider: provider,
714714
model: model,
715-
api_url: preset?.url || apiUrl,
715+
api_url: apiUrl || preset?.url,
716716
api_key: apiKey.trim() || undefined
717717
});
718718
setHasUnsavedChanges(false);

0 commit comments

Comments
 (0)