feat: 完善后端启动,打二进制文件防止因为网络无法运行

This commit is contained in:
ethan.chen
2025-11-05 15:11:29 +08:00
parent 73945c40e5
commit fe64b293dd
5 changed files with 21 additions and 43 deletions

View File

@@ -7,6 +7,7 @@
},
"tasks": {
"start": "deno run --allow-net --allow-run --allow-read --allow-write --allow-env main.ts",
"dev": "deno run --allow-net --allow-run --allow-read --allow-write --watch --allow-env main.ts"
"dev": "deno run --allow-net --allow-run --allow-read --allow-write --watch --allow-env main.ts",
"build": "deno compile --target aarch64-apple-darwin --allow-net --allow-run --allow-read --allow-write --allow-env --output dist/ main.ts"
}
}