From 3d8a5f314fdf5247bcd0337d669803db37aa309c Mon Sep 17 00:00:00 2001 From: Cristiano Santos Date: Fri, 16 Dec 2022 17:32:31 -0300 Subject: [PATCH] fix(templates): route definition comment line --- templates/app-esm/app.js | 2 +- templates/app-ts/src/app.ts | 2 +- templates/app/app.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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'),