edgeone 1.6.5 → 1.6.7
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.
|
@@ -563,8 +563,8 @@ async def app(scope: dict, receive, send) -> None:
|
|
|
563
563
|
|
|
564
564
|
# Log Makers request path (matches python-function format)
|
|
565
565
|
# 部署环境下通过 eo-pages-host header 拼接完整 URL
|
|
566
|
-
|
|
567
|
-
_pages_host = headers.get("eo-pages-host", "")
|
|
566
|
+
# 对齐 agent-node: eo-pages-host 缺失时回退到 host header
|
|
567
|
+
_pages_host = headers.get("eo-pages-host", "") or headers.get("host", "")
|
|
568
568
|
if _pages_host:
|
|
569
569
|
_pages_proto = headers.get("x-forwarded-proto", "https")
|
|
570
570
|
_pages_full_path = f"{_pages_proto}://{_pages_host}{path}"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "edgeone",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.7",
|
|
4
4
|
"description": "Command-line interface for TencentCloud Pages Functions",
|
|
5
5
|
"bin": {
|
|
6
6
|
"edgeone": "./edgeone-bin/edgeone.js"
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"@edgeone/framework-detect": "^0.0.2",
|
|
50
50
|
"@edgeone/is-spa": "^0.0.3",
|
|
51
51
|
"@edgeone/nuxt-pages": "1.1.0",
|
|
52
|
-
"@edgeone/opennextjs-pages": "0.2.
|
|
52
|
+
"@edgeone/opennextjs-pages": "0.2.5",
|
|
53
53
|
"@edgeone/pages-agent-toolkit": "^0.1.34",
|
|
54
|
-
"@edgeone/pages-blob": "0.0.
|
|
54
|
+
"@edgeone/pages-blob": "^0.0.13",
|
|
55
55
|
"archiver": "^7.0.1",
|
|
56
56
|
"chokidar": "^4.0.1",
|
|
57
57
|
"common-path-prefix": "^1.0.0",
|