From 4760f773ca6864181293ba9905d0e12775720882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A1bio=20Santos?= <8303937+fabiofdsantos@users.noreply.github.com> Date: Fri, 27 Jul 2018 15:57:27 +0100 Subject: [PATCH] Fix typo --- src/server/plugins/routes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/plugins/routes.js b/src/server/plugins/routes.js index 6c72bb1..8a280f8 100644 --- a/src/server/plugins/routes.js +++ b/src/server/plugins/routes.js @@ -3,10 +3,10 @@ const path = require('path') const registerRoutes = require('fastify-register-routes') -const defaultPaht = path.join(__dirname, '../../domains') +const defaultPath = path.join(__dirname, '../../domains') const install = server => { - server.register(registerRoutes, { path: defaultPaht, useService: false }) + server.register(registerRoutes, { path: defaultPath, useService: false }) } module.exports = { install }