diff --git a/package-lock.json b/package-lock.json index 477ee0f8..48319073 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "grok2api", "dependencies": { - "hono": "^4.6.16" + "hono": "^4.11.10" }, "devDependencies": { "@cloudflare/workers-types": "^4.20260124.0", @@ -1264,9 +1264,9 @@ } }, "node_modules/hono": { - "version": "4.11.7", - "resolved": "https://registry.npmjs.org/hono/-/hono-4.11.7.tgz", - "integrity": "sha512-l7qMiNee7t82bH3SeyUCt9UF15EVmaBvsppY2zQtrbIhl/yzBTny+YUxsVjSjQ6gaqaeVtZmGocom8TzBlA4Yw==", + "version": "4.11.10", + "resolved": "https://registry.npmjs.org/hono/-/hono-4.11.10.tgz", + "integrity": "sha512-kyWP5PAiMooEvGrA9jcD3IXF7ATu8+o7B3KCbPXid5se52NPqnOpM/r9qeW2heMnOekF4kqR1fXJqCYeCLKrZg==", "license": "MIT", "engines": { "node": ">=16.9.0" diff --git a/package.json b/package.json index ad2391a4..c6ccc304 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "typecheck": "tsc -p tsconfig.json --noEmit" }, "dependencies": { - "hono": "^4.6.16" + "hono": "^4.11.10" }, "devDependencies": { "@cloudflare/workers-types": "^4.20260124.0", diff --git a/wrangler.toml b/wrangler.toml index 1eecc9a5..0bb9235a 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -7,13 +7,13 @@ assets = { directory = "./app/template", binding = "ASSETS" } [[d1_databases]] binding = "DB" -database_name = "grok2api" +database_name = "cloudmail" # Filled by CI / your first deployment bootstrap. database_id = "REPLACE_WITH_D1_DATABASE_ID" migrations_dir = "migrations" [[kv_namespaces]] -binding = "KV_CACHE" +binding = "grok2api-cache" # Filled by CI / your first deployment bootstrap. id = "REPLACE_WITH_KV_NAMESPACE_ID" @@ -31,3 +31,5 @@ KV_CLEANUP_BATCH = "200" [triggers] # Every day at 00:00 (Asia/Shanghai => 16:00 UTC) crons = ["0 16 * * *"] +[placement] +region = “aws:us-west-2”