NuxtN
Nuxt11mo ago
6 replies
pinefin

custom nitro plugin is not running in cloudflare-pages

i have a custom nitro plugin, is not running in cloudflare-pages.

import { accountManager } from "~/server/utils/user/accountUtils";

export default defineNitroPlugin((nitroApp) => {
    onHubReady(async () => {
        accountManager.setup();
    });
});


this is all it does, inside of the accountManager creates a interval that ticks and handles everything. im not sure if this is possible or not in pages but
Was this page helpful?