diff --git a/lib/interfaces/serve-static-options.interface.ts b/lib/interfaces/serve-static-options.interface.ts index e6196c40..37b987f8 100644 --- a/lib/interfaces/serve-static-options.interface.ts +++ b/lib/interfaces/serve-static-options.interface.ts @@ -34,6 +34,12 @@ export interface ServeStaticModuleOptions { * Passed down to the underlying either `express.static` or `fastify-static.send` */ serveStaticOptions?: { + /** + * Enable or disable accepting ranged requests, defaults to true. + * Disabling this will not send Accept-Ranges and ignore the contents of the Range request header. + */ + acceptRanges?: boolean; + /** * Enable or disable setting Cache-Control response header, defaults to true. * Disabling this will ignore the immutable and maxAge options.