@decocms/start 6.4.1 → 6.4.2
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/package.json +1 -1
- package/src/vite/plugin.js +4 -1
package/package.json
CHANGED
package/src/vite/plugin.js
CHANGED
|
@@ -363,7 +363,10 @@ export function decoVitePlugin() {
|
|
|
363
363
|
site: siteName,
|
|
364
364
|
env: envName,
|
|
365
365
|
port,
|
|
366
|
-
|
|
366
|
+
// Default to the .deco.host relay (matches startTunnel's documented
|
|
367
|
+
// default). Set DECO_HOST=false to opt back into the legacy
|
|
368
|
+
// simpletunnel.deco.site relay.
|
|
369
|
+
decoHost: process.env.DECO_HOST !== "false",
|
|
367
370
|
});
|
|
368
371
|
server.httpServer?.on("close", () => tunnel.close());
|
|
369
372
|
} catch (err) {
|