Remove site.webmanifest and refactor state initialization in RecipeManager and HeaderManager

- Deleted the site.webmanifest file as it is no longer needed.
- Simplified state management by removing initPageState from RecipeManager and integrating it into HeaderManager.
- Cleaned up console logging in loraApi.js to reduce unnecessary output.
- Minor formatting adjustments in FilterManager to enhance code readability.
This commit is contained in:
Will Miao
2025-03-21 05:22:20 +08:00
parent 34078d8a60
commit 644ee31654
5 changed files with 4 additions and 8 deletions

View File

@@ -57,8 +57,6 @@ export async function loadMoreLoras(resetPage = false, updateFolders = false) {
}
}
console.log('Loading loras with params:', params.toString());
const response = await fetch(`/api/loras?${params}`);
if (!response.ok) {
throw new Error(`Failed to fetch loras: ${response.statusText}`);