@gradientedge/cdk-utils 4.9.0 → 4.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -188,7 +188,14 @@ class GraphQLApiLambda extends common_1.CommonConstruct {
|
|
|
188
188
|
stage: this.graphQLApi.deploymentStage,
|
|
189
189
|
}));
|
|
190
190
|
});
|
|
191
|
+
return;
|
|
191
192
|
}
|
|
193
|
+
// add default mapping if apiRootPaths not set
|
|
194
|
+
new apig.BasePathMapping(this, `${this.id}-base-bath-mapping`, {
|
|
195
|
+
domainName: this.graphQLApiDomain,
|
|
196
|
+
restApi: this.graphQLApi,
|
|
197
|
+
stage: this.graphQLApi.deploymentStage,
|
|
198
|
+
});
|
|
192
199
|
}
|
|
193
200
|
/**
|
|
194
201
|
* @summary Method to create route53 records for GraphQL API
|
package/package.json
CHANGED
|
@@ -231,7 +231,15 @@ export class GraphQLApiLambda extends CommonConstruct {
|
|
|
231
231
|
})
|
|
232
232
|
)
|
|
233
233
|
})
|
|
234
|
+
return
|
|
234
235
|
}
|
|
236
|
+
|
|
237
|
+
// add default mapping if apiRootPaths not set
|
|
238
|
+
new apig.BasePathMapping(this, `${this.id}-base-bath-mapping`, {
|
|
239
|
+
domainName: this.graphQLApiDomain,
|
|
240
|
+
restApi: this.graphQLApi,
|
|
241
|
+
stage: this.graphQLApi.deploymentStage,
|
|
242
|
+
})
|
|
235
243
|
}
|
|
236
244
|
|
|
237
245
|
/**
|