vite-plugin-rpx 0.11.25 → 0.11.27
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/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -26665,7 +26665,7 @@ async function startProxies(options) {
|
|
|
26665
26665
|
const httpsPort = mergedOptions.httpsPort ?? 443;
|
|
26666
26666
|
const httpPort = mergedOptions.httpPort ?? 80;
|
|
26667
26667
|
const originGuard = mergedOptions.originGuard ? createOriginGuard(mergedOptions.originGuard) : null;
|
|
26668
|
-
const useSharedHttps = !!sslConfig && (proxyOptions.length > 1 || singlePortMode);
|
|
26668
|
+
const useSharedHttps = !!sslConfig && (proxyOptions.length > 1 || singlePortMode || productionTlsConfig.length > 0);
|
|
26669
26669
|
const useSharedHttp = !sslConfig && singlePortMode && proxyOptions.length > 0;
|
|
26670
26670
|
if (useSharedHttps && sslConfig) {
|
|
26671
26671
|
debugLog("proxies", `Creating shared HTTPS server for ${proxyOptions.length} domains on port ${httpsPort}`, verbose);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite-plugin-rpx",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.11.
|
|
4
|
+
"version": "0.11.27",
|
|
5
5
|
"description": "A modern and smart reverse proxy. Vite plugin.",
|
|
6
6
|
"author": "Chris Breuer <chris@stacksjs.org>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"typecheck": "bunx tsc --noEmit"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@stacksjs/rpx": "0.11.
|
|
50
|
+
"@stacksjs/rpx": "0.11.27",
|
|
51
51
|
"@stacksjs/tlsx": "^0.13.9"
|
|
52
52
|
},
|
|
53
53
|
"simple-git-hooks": {
|