lightgun-poc / lib/cors / originAllowed
Function: originAllowed()
originAllowed(
r,allowed):boolean
Defined in: lib/cors.ts:36
Whether the request may hit state-changing endpoints at all.
Parameters
r
allowed
string[]
Returns
boolean
lightgun-poc / lib/cors / originAllowed
originAllowed(
r,allowed):boolean
Defined in: lib/cors.ts:36
Whether the request may hit state-changing endpoints at all.
string[]
boolean