Preparing search index...
The search index is not available
@solana/actions
@solana/actions
actionCorsMiddleware
Function actionCorsMiddleware
action
Cors
Middleware
(
args
)
:
(
(
_req
:
any
,
res
:
any
,
next
:
Function
)
=>
void
)
Middleware to enable proper CORS headers for Action APIs
Parameters
args
:
HeaderHelperArgs
Returns
(
(
_req
:
any
,
res
:
any
,
next
:
Function
)
=>
void
)
(
_req
,
res
,
next
)
:
void
Parameters
_req
:
any
res
:
any
next
:
Function
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@solana/actions
Loading...
Middleware to enable proper CORS headers for Action APIs