refactor: Implement download management routes and update API endpoints for LoRA

This commit is contained in:
Will Miao
2025-07-23 16:11:02 +08:00
parent c2e00b240e
commit ea9370443d
6 changed files with 124 additions and 131 deletions

View File

@@ -125,7 +125,7 @@ export const ModelContextMenuMixin = {
const endpoint = this.modelType === 'checkpoint' ?
'/api/checkpoints/relink-civitai' :
'/api/relink-civitai';
'/api/loras/relink-civitai';
const response = await fetch(endpoint, {
method: 'POST',