@adonisjs/http-server 7.2.2 → 7.2.3

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.
@@ -4496,6 +4496,8 @@ function defineConfig(config) {
4496
4496
  } else if (typeof trustProxy2 === "string") {
4497
4497
  const tpValue = trustProxy2;
4498
4498
  normalizedConfig.trustProxy = proxyAddr.compile(tpValue);
4499
+ } else if (trustProxy2) {
4500
+ normalizedConfig.trustProxy = trustProxy2;
4499
4501
  }
4500
4502
  return normalizedConfig;
4501
4503
  }
@@ -4522,4 +4524,4 @@ export {
4522
4524
  Server,
4523
4525
  defineConfig
4524
4526
  };
4525
- //# sourceMappingURL=chunk-MUS67JY5.js.map
4527
+ //# sourceMappingURL=chunk-UQEGDK7Z.js.map