Skip to content

Commit

Permalink
chore: update server plugin documentation (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
achou11 authored Oct 17, 2024
1 parent 3a83caf commit 96c7261
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ function sendResource(reply, resource) {
}

/**
* Fastify plugin for serving a styled map package. User `lazy: true` to defer
* opening the file until the first request.
* Fastify plugin for serving a styled map package.
*
* If you provide a `Reader` (or `ReaderWatch`) instance via the `reader` opt,
* you must manually close the instance yourself.
*
* @type {FastifyPluginCallback<PluginOptions>}
*/
Expand Down

0 comments on commit 96c7261

Please sign in to comment.