create-caspian-app 1.5.2 → 1.5.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.
|
@@ -396,7 +396,11 @@ async function shutdown(exitCode: number): Promise<void> {
|
|
|
396
396
|
{
|
|
397
397
|
proxy: {
|
|
398
398
|
target: `http://localhost:${pythonPort}`,
|
|
399
|
-
|
|
399
|
+
// The backend only registers the PulsePoint WebSocket endpoint when
|
|
400
|
+
// this feature is enabled. Do not proxy upgrade requests otherwise:
|
|
401
|
+
// Uvicorn has no WebSocket protocol dependency in a socket-free app,
|
|
402
|
+
// and the attempted upgrade tears down BrowserSync with ECONNRESET.
|
|
403
|
+
ws: caspianConfig.websocket,
|
|
400
404
|
},
|
|
401
405
|
port: bsPort,
|
|
402
406
|
online: true,
|