Skip to content

Commit 5058600

Browse files
fix(common): change requestOrigin type
fix(common): change requestOrigin type
1 parent bec4329 commit 5058600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/common/interfaces/external/cors-options.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ type StaticOrigin = boolean | string | RegExp | (string | RegExp)[];
1010
* @publicApi
1111
*/
1212
export type CustomOrigin = (
13-
requestOrigin: string,
13+
requestOrigin: string | undefined,
1414
callback: (err: Error | null, origin?: StaticOrigin) => void,
1515
) => void;
1616

0 commit comments

Comments
 (0)