Skip to content

Commit

Permalink
fix(fastify-cors): fix the fastify adapter cors options config
Browse files Browse the repository at this point in the history
  • Loading branch information
blueway authored Mar 30, 2019
1 parent 20145b0 commit 24b0f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/platform-fastify/adapters/fastify-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class FastifyAdapter extends AbstractHttpAdapter {
}

public enableCors(options: CorsOptions) {
this.register(cors, { options });
this.register(cors, options );
}

public registerParserMiddleware() {
Expand Down

0 comments on commit 24b0f5a

Please sign in to comment.