mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
fix(common): change requestOrigin type
fix(common): change requestOrigin type
This commit is contained in:
@@ -10,7 +10,7 @@ type StaticOrigin = boolean | string | RegExp | (string | RegExp)[];
|
||||
* @publicApi
|
||||
*/
|
||||
export type CustomOrigin = (
|
||||
requestOrigin: string,
|
||||
requestOrigin: string | undefined,
|
||||
callback: (err: Error | null, origin?: StaticOrigin) => void,
|
||||
) => void;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user