edgeone 1.2.11 → 1.2.12-beta.5
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/edgeone-dist/cli.js +278 -273
- package/edgeone-dist/pages/dev/runner-worker.js +5 -0
- package/package.json +2 -2
|
@@ -1510,6 +1510,8 @@ function createEdgeoneCompatibleRequest(originalReq, isFramework = false) {
|
|
|
1510
1510
|
} catch (err) {
|
|
1511
1511
|
console.error('[WebSocket] Error in onerror:', err);
|
|
1512
1512
|
}
|
|
1513
|
+
} else {
|
|
1514
|
+
console.error('[WebSocket] Connection error:', error);
|
|
1513
1515
|
}
|
|
1514
1516
|
});
|
|
1515
1517
|
});
|
|
@@ -1759,6 +1761,9 @@ const server = http.createServer(async (req, res) => {
|
|
|
1759
1761
|
}
|
|
1760
1762
|
});
|
|
1761
1763
|
|
|
1764
|
+
server.headersTimeout = 0;
|
|
1765
|
+
server.requestTimeout = 0;
|
|
1766
|
+
|
|
1762
1767
|
server.listen(port, () => {
|
|
1763
1768
|
});
|
|
1764
1769
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "edgeone",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.12-beta.5",
|
|
4
4
|
"description": "Command-line interface for TencentCloud Pages Functions",
|
|
5
5
|
"bin": {
|
|
6
6
|
"edgeone": "./edgeone-bin/edgeone.js"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@edgeone/framework-detect": "^0.0.2",
|
|
36
|
-
"@edgeone/nuxt-pages": "^1.0.
|
|
36
|
+
"@edgeone/nuxt-pages": "^1.0.8",
|
|
37
37
|
"@edgeone/opennextjs-pages": "0.0.4",
|
|
38
38
|
"archiver": "^7.0.1",
|
|
39
39
|
"chokidar": "^4.0.1",
|