feat: 完善后端启动,打二进制文件防止因为网络无法运行
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user