Skip to content

Commit 7311816

Browse files
committed
Added options param
1 parent 3b89362 commit 7311816

File tree

1 file changed

+1
-0
lines changed
  • packages/event-handler/src/rest/middleware

1 file changed

+1
-0
lines changed

packages/event-handler/src/rest/middleware/cors.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import {
3535
* }));
3636
* ```
3737
*
38+
* @param options - Configuration options for CORS
3839
* @param options.origin - The origin to allow requests from
3940
* @param options.allowMethods - The HTTP methods to allow
4041
* @param options.allowHeaders - The headers to allow

0 commit comments

Comments
 (0)