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
- ws: true,
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-caspian-app",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "Scaffold a new Caspian project (FastAPI-powered reactive Python framework).",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",