Allow fastify.i18n to be used outside of i18n routes
This commit is contained in:
parent
fc643c6388
commit
2cfa08abe3
|
@ -47,4 +47,4 @@ async function plugin (fastify, opts, done) {
|
||||||
done();
|
done();
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = plugin;
|
module.exports = fp(plugin);
|
Loading…
Reference in New Issue