diff --git a/templates/app-esm/app.js b/templates/app-esm/app.js index d5c3cb32..debb69cb 100644 --- a/templates/app-esm/app.js +++ b/templates/app-esm/app.js @@ -21,7 +21,7 @@ export default async function (fastify, opts) { options: Object.assign({}, opts) }) - // This loads all plugins defined in routes + // This loads all routes defined in routes // define your routes in one of these fastify.register(AutoLoad, { dir: path.join(__dirname, 'routes'), diff --git a/templates/app-ts/src/app.ts b/templates/app-ts/src/app.ts index c66bd714..74fb11b4 100644 --- a/templates/app-ts/src/app.ts +++ b/templates/app-ts/src/app.ts @@ -27,7 +27,7 @@ const app: FastifyPluginAsync = async ( options: opts }) - // This loads all plugins defined in routes + // This loads all routes defined in routes // define your routes in one of these void fastify.register(AutoLoad, { dir: join(__dirname, 'routes'), diff --git a/templates/app/app.js b/templates/app/app.js index 7c3927f0..bb4b8ef1 100644 --- a/templates/app/app.js +++ b/templates/app/app.js @@ -19,7 +19,7 @@ module.exports = async function (fastify, opts) { options: Object.assign({}, opts) }) - // This loads all plugins defined in routes + // This loads all routes defined in routes // define your routes in one of these fastify.register(AutoLoad, { dir: path.join(__dirname, 'routes'),