Skip to content

Commit c1ba587

Browse files
author
旷路
committed
fix: update entry paths in esa.jsonc files to use relative paths
- Change all 'src/index.js' to './src/index.js' for standard relative path format - Updated all functions/*/esa.jsonc files
1 parent f1ef5bb commit c1ba587

File tree

14 files changed

+14
-14
lines changed

14 files changed

+14
-14
lines changed

functions/AB_test/esa.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "A/B Test",
33
"description": "Route traffic to test services of different versions.",
4-
"entry": "src/index.js",
4+
"entry": "./src/index.js",
55
"codeVersions": [],
66
"dev": {
77
"port": 18080,

functions/ai_templates/esa.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "DeepSeek model invocation",
33
"description": "How to invoke DeepSeek series models through API calls on the BaiLian platform.",
4-
"entry": "src/index.js",
4+
"entry": "./src/index.js",
55
"codeVersions": [],
66
"dev": {
77
"port": 18080,

functions/cache_api/esa.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Cache API",
33
"description": "A simple example to help you quickly understand how to use the cache API.",
4-
"entry": "src/index.js",
4+
"entry": "./src/index.js",
55
"codeVersions": [],
66
"dev": {
77
"port": 18080,

functions/follow_origin_302/esa.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Follow origin 302",
33
"description": "Enable a routine to follow 302 redirects from the origin, instead of waiting for further instructions from the clients.",
4-
"entry": "src/index.js",
4+
"entry": "./src/index.js",
55
"codeVersions": [],
66
"dev": {
77
"port": 18080,

functions/hello_world/esa.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Hello World",
33
"description": "Hello World",
4-
"entry": "src/index.js",
4+
"entry": "./src/index.js",
55
"codeVersions": [],
66
"dev": {
77
"port": 18080,

functions/kv_storage/esa.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "KV Storage",
33
"description": "A simple example to help you understand how to use the Edge KV API operations.",
4-
"entry": "src/index.js",
4+
"entry": "./src/index.js",
55
"codeVersions": [],
66
"dev": {
77
"port": 18080,

functions/modify_headers/esa.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Modify headers",
33
"description": "Initiate a subrequest to fetch resources from the origin, and, after a response is returned, modify the response header, and serve the response to the clients.",
4-
"entry": "src/index.js",
4+
"entry": "./src/index.js",
55
"codeVersions": [],
66
"dev": {
77
"port": 18080,

functions/redirect_302/esa.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "302 Redirect",
33
"description": "Enable a routine to redirect requests from one URL to another. You can customize the redirect response.",
4-
"entry": "src/index.js",
4+
"entry": "./src/index.js",
55
"codeVersions": [],
66
"dev": {
77
"port": 18080,

functions/simple_ssr/esa.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "React SSR Demo",
33
"description": "SSR Demo",
4-
"entry": "src/index.js",
4+
"entry": "./src/index.js",
55
"codeVersions": [],
66
"dev": {
77
"port": 18080,

functions/stateless-amap-mcp-example/esa.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Stateless AMap MCP Template",
33
"description": "Stateless AMap MCP Template",
4-
"entry": "src/index.js",
4+
"entry": "./src/index.js",
55
"codeVersions": [],
66
"dev": {
77
"port": 18080,

0 commit comments

Comments
 (0)