fix: comment out fastify plugins autoload

This commit is contained in:
Philippe Schommers 2023-04-04 15:12:42 +02:00
parent cd1e98eaf9
commit b0a2fac43d

View File

@ -25,17 +25,19 @@ const app: FastifyPluginAsync<AppOptions> = async (
const provider = getDefaultProvider(RPC_URL);
syncGroup(provider, GLOBAL_ANONYMOUS_FEED_ADDRESS);
epochSealer.start()
epochSealer.start();
// Do not touch the following lines
// This loads all plugins defined in plugins
// those should be support plugins that are reused
// through your application
/*
fastify.register(AutoLoad, {
dir: join(__dirname, "plugins"),
options: opts,
});
*/
// This loads all plugins defined in routes
// define your routes in one of these