feat: user page & $dropFetch util

This commit is contained in:
DecDuck
2025-03-14 12:22:08 +11:00
parent 3225f536ce
commit bd1cb67cd0
39 changed files with 416 additions and 166 deletions
+3 -1
View File
@@ -27,7 +27,9 @@ export default defineNitroPlugin(async (nitro) => {
}
// Add providers based on their position in the application settings
const configuredProviderList = applicationSettings.get("metadataProviders");
const configuredProviderList = await applicationSettings.get(
"metadataProviders"
);
const max = configuredProviderList.length;
for (const [index, providerId] of configuredProviderList.entries()) {
const priority = max * 2 - index; // Offset by the length --- (max - index) + max