@fy-stack/app-construct 0.0.137 → 0.0.139

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.
@@ -76,7 +76,7 @@ class NodeApiConstruct extends constructs_1.Construct {
76
76
  responseHeadersPolicy: cloudfront.ResponseHeadersPolicy
77
77
  .CORS_ALLOW_ALL_ORIGINS_WITH_PREFLIGHT_AND_SECURITY_HEADERS,
78
78
  };
79
- return { [`${path}/{proxy+}`]: apiBehavior };
79
+ return { [`${path}/*`]: apiBehavior };
80
80
  }
81
81
  cloudfrontPolicy(distributionId) {
82
82
  throw new Error(`cloudfrontPolicy not supported for ${this}`);
@@ -9,7 +9,7 @@ function lambdaApi(func, path) {
9
9
  authType: lambda.FunctionUrlAuthType.NONE,
10
10
  });
11
11
  func.addEnvironment('BASE_PATH', path);
12
- const integration = new aws_apigatewayv2_integrations_1.HttpUrlIntegration('AppIntegration', apiUrl.url);
12
+ const integration = new aws_apigatewayv2_integrations_1.HttpUrlIntegration('AppIntegration', apiUrl.url + '{proxy}');
13
13
  return {
14
14
  [path]: integration,
15
15
  [`${path}/{proxy+}`]: integration,
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@fy-stack/app-construct",
3
- "version": "0.0.137",
3
+ "version": "0.0.139",
4
4
  "repository": "https://github.com/festusyuma/fy-stack",
5
5
  "dependencies": {
6
- "@fy-stack/types": "0.0.137",
6
+ "@fy-stack/types": "0.0.139",
7
7
  "tslib": "^2.3.0",
8
8
  "zod": "^3.24.1"
9
9
  },