Skip to content

Commit ce99275

Browse files
committed
chore: update example ESM-plugin-with-custom-server-options.js
1 parent 5ae8c24 commit ce99275

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

examples/package-type-module/ESM-plugin-with-custom-server-options.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@ export default async function plugin (fastify, options) {
1010
}
1111

1212
export const options = {
13-
ignoreTrailingSlash: true
14-
}
13+
routerOptions: {
14+
ignoreTrailingSlash: true
15+
}
16+
};

0 commit comments

Comments
 (0)