Skip to content

Commit a0f59ef

Browse files
committed
fix: enableCORS for apigw
1 parent 4c18bd2 commit a0f59ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ const prepareInputs = async (instance, credentials, inputs = {}) => {
219219
apigatewayConf.endpoints = [
220220
{
221221
path: '/',
222+
enableCORS: apigatewayConf.enableCORS,
222223
method: 'ANY',
223224
function: {
224225
isIntegratedResponse: true,

0 commit comments

Comments
 (0)