feat: Update API routes for LoRA management and enhance folder handling

This commit is contained in:
Will Miao
2025-07-23 17:26:06 +08:00
parent 2c6c9542dd
commit a834fc4b30
7 changed files with 27 additions and 41 deletions

View File

@@ -161,7 +161,7 @@ export class SettingsManager {
if (!defaultLoraRootSelect) return;
// Fetch lora roots
const response = await fetch('/api/lora-roots');
const response = await fetch('/api/loras/roots');
if (!response.ok) {
throw new Error('Failed to fetch LoRA roots');
}