refactor: Update API endpoint for saving model metadata to use consistent route structure

This commit is contained in:
Will Miao
2025-04-12 09:03:34 +08:00
parent d5ce6441e3
commit 10a4fe04d1
4 changed files with 4 additions and 4 deletions

View File

@@ -130,7 +130,7 @@ export class LoraContextMenu {
}
async saveModelMetadata(filePath, data) {
const response = await fetch('/loras/api/save-metadata', {
const response = await fetch('/api/loras/save-metadata', {
method: 'POST',
headers: {
'Content-Type': 'application/json',