修复 token 任务脚本路径,容器启动 bot

This commit is contained in:
whyour
2023-05-13 01:10:49 +08:00
parent 8b7bef097c
commit 41521f1d08
6 changed files with 21 additions and 11 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
create_token() {
local token_command="tsx ${dir_root}/back/token.ts"
local token_file="${dir_root}static/build/token.js"
local token_file="${dir_root}/static/build/token.js"
if [[ -f $token_file ]]; then
token_command="node ${token_file}"
fi