create-fuzionx 0.1.47 → 0.1.48
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/fx.js
CHANGED
|
@@ -64,8 +64,8 @@ if (existsSync(localBin) || existsSync(localCli)) {
|
|
|
64
64
|
fx make:worker <Name> Create worker (shared/workers)
|
|
65
65
|
fx make:test <Name> Create test
|
|
66
66
|
fx dev Start dev server (--watch)
|
|
67
|
-
fx dev:spa
|
|
68
|
-
fx build:spa
|
|
67
|
+
fx dev:spa [--app=<name>] Start dev server + Vite HMR
|
|
68
|
+
fx build:spa [--app=<name>] Build SPA for production
|
|
69
69
|
fx stop Stop server (graceful)
|
|
70
70
|
fx restart Restart server (graceful)
|
|
71
71
|
fx test Run tests
|
package/package.json
CHANGED
package/templates/spa/meta.json
CHANGED
|
@@ -201,9 +201,9 @@ async function connectWS() {
|
|
|
201
201
|
// masterSecret는 main.js에서 inject('masterSecret')로 제공됨
|
|
202
202
|
const masterSecret = injectedMasterSecret || '';
|
|
203
203
|
|
|
204
|
-
ws = new window.FuzionXSocket(url, masterSecret, window.
|
|
204
|
+
ws = new window.FuzionXSocket(url, masterSecret, window.__FX__ENC_ENABLED);
|
|
205
205
|
|
|
206
|
-
ws.on('connect', () => { setStatus('connected', window.
|
|
206
|
+
ws.on('connect', () => { setStatus('connected', window.__FX__ENC_ENABLED ? 'connected (ASP 🔐)' : 'connected'); });
|
|
207
207
|
|
|
208
208
|
ws.on('message', (raw) => { console.log('[Chat] raw:', JSON.stringify(raw)); });
|
|
209
209
|
|