Skip to content

Commit d63bb08

Browse files
authored
docs(readme): correct default value for preflight option (#378)
1 parent 39e2d96 commit d63bb08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ declare namespace fastifyCors {
8787
*/
8888
optionsSuccessStatus?: number;
8989
/**
90-
* Pass the CORS preflight response to the route handler (default: false).
90+
* Pass the CORS preflight response to the route handler (default: true).
9191
*/
9292
preflight?: boolean;
9393
/**

0 commit comments

Comments
 (0)