fix build (#245)

This commit is contained in:
Dream Hunter
2024-05-18 14:07:52 +08:00
committed by GitHub
parent ca00a877ad
commit a351839408
6 changed files with 50 additions and 44 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ pnpm run deploy
```toml
name = "cloudflare_temp_email"
main = "src/worker.js"
main = "src/worker.ts"
compatibility_date = "2023-08-14"
node_compat = true
+1 -1
View File
@@ -24,7 +24,7 @@ wrangler kv:namespace create DEV
```toml
name = "cloudflare_temp_email"
main = "src/worker.js"
main = "src/worker.ts"
compatibility_date = "2023-12-01"
# 如果你想使用自定义域名,你需要添加 routes 配置
# routes = [