Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { join } from 'desm'
* import it in our testing suite and add this application as a subcomponent
* of another Fastify application. The encapsulaton system, of Fastify will make sure
* that you are not leaking dependencies and business logic.
* For more info, see https://www.fastify.io/docs/latest/Encapsulation/
* For more info, see https://fastify.dev/docs/latest/Reference/Encapsulation
*/
export default async function (fastify, opts) {
// It's very common to pass secrets and configuration
Expand Down
2 changes: 1 addition & 1 deletion plugins/elasticsearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import fp from 'fastify-plugin'
import { Client } from '@elastic/elasticsearch'

/**
* A tipical usage of a plugin, is to expose an external service,
* A typical usage of a plugin, is to expose an external service,
* such as a database. In this case we are exposing the Elasticsearch client
* since the application uses elasticsearch as main datastore.
* As you will see, inside this plugin we are not only exposing the
Expand Down