@sparkelf/dsh-mobile-bridge-server 0.2.0 → 0.2.1
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/phone.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sparkelf/dsh-mobile-bridge-server",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Multi-user bridge server connecting mobile browsers to local DeepSeek Harness instances through outbound tunnels.",
|
|
6
6
|
"main": "src/index.ts",
|
package/src/phone.ts
CHANGED
|
@@ -138,7 +138,7 @@ function wsReady() {
|
|
|
138
138
|
}
|
|
139
139
|
if ((full.headers?.['content-type'] ?? '').includes('text/html')) {
|
|
140
140
|
let html = new TextDecoder().decode(body)
|
|
141
|
-
if (!html.includes('/bridge/socket-client.js')) html = html.replace('</head>', '<script src="/bridge/socket-client.js"></script
|
|
141
|
+
if (!html.includes('/bridge/socket-client.js')) html = html.replace('</head>', '<script src="/bridge/socket-client.js"></script></head>')
|
|
142
142
|
body = new TextEncoder().encode(html)
|
|
143
143
|
}
|
|
144
144
|
pending.delete(frame.id)
|