@adonisjs/http-server 7.2.2 → 7.2.4
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.
- package/build/{chunk-MUS67JY5.js → chunk-Q2EOMKJE.js} +3 -1
- package/build/{chunk-MUS67JY5.js.map → chunk-Q2EOMKJE.js.map} +1 -1
- package/build/factories/http_server.d.ts +0 -1
- package/build/factories/main.js +1 -1
- package/build/factories/request.d.ts +0 -1
- package/build/factories/response.d.ts +0 -1
- package/build/index.js +1 -1
- package/build/src/debug.d.ts +0 -1
- package/build/src/define_middleware.d.ts +1 -1
- package/build/src/exceptions.d.ts +30 -31
- package/build/src/http_context/local_storage.d.ts +0 -1
- package/build/src/redirect.d.ts +0 -1
- package/build/src/request.d.ts +0 -2
- package/build/src/response.d.ts +0 -3
- package/build/src/router/main.d.ts +2 -2
- package/build/src/server/main.d.ts +0 -2
- package/build/src/types/response.d.ts +0 -1
- package/package.json +10 -10
|
@@ -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-
|
|
4527
|
+
//# sourceMappingURL=chunk-Q2EOMKJE.js.map
|