chore: udpate wrangler.toml

This commit is contained in:
Ou 2024-10-03 17:46:33 +08:00
parent 478312975f
commit ee93bf176e
2 changed files with 7 additions and 5 deletions

View File

@ -6,12 +6,10 @@
"packageManager": "pnpm@9.11.0+sha512.0a203ffaed5a3f63242cd064c8fb5892366c103e328079318f78062f24ea8c9d50bc6a47aa3567cabefd824d170e78fa2745ed1f16b132e16436146b7688f19b",
"scripts": {
"dev": "vite dev",
"build": "vite build",
"nitro": "nitro build",
"build": "vite build",
"lint": "eslint .",
"favicon": "tsx ./scripts/favicon.ts",
"test": "vitest",
"preview": "vite preview"
"test": "vitest"
},
"dependencies": {
"@dnd-kit/core": "^6.1.0",
@ -49,10 +47,10 @@
"@vitejs/plugin-react-swc": "^3.7.0",
"eslint": "^9.11.1",
"eslint-plugin-react-hooks": "^5.1.0-rc-778e1ed2-20240926",
"ofetch": "^1.4.0",
"eslint-plugin-react-refresh": "^0.4.12",
"nitro-cloudflare-dev": "^0.1.6",
"nitropack": "^2.9.7",
"ofetch": "^1.4.0",
"tsx": "^4.19.1",
"typescript": "^5.6.2",
"typescript-eslint": "^8.7.0",

View File

@ -1,3 +1,7 @@
name = "newsnow"
pages_build_output_dir = "dist/output/public"
compatibility_date = "2024-10-03"
[[d1_databases]]
binding = "CACHE_DB" # i.e. available in your Worker on env.CACHE_DB
database_name = "newsnow-cache"