fix: json parse error in docker #600 #601

This commit is contained in:
zhayujie
2023-03-26 02:31:38 +08:00
parent 5aedce647f
commit e226c93eeb
2 changed files with 2 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ if [ "$CHARACTER_DESC" != "" ] ; then
fi
if [ "$EXPIRES_IN_SECONDS" != "" ] ; then
sed -i "s/\"expires_in_seconds\".*$/\"expires_in_seconds\": $EXPIRES_IN_SECONDS/" $CHATGPT_ON_WECHAT_CONFIG_PATH
sed -i "s/\"expires_in_seconds\".*$/\"expires_in_seconds\": $EXPIRES_IN_SECONDS,/" $CHATGPT_ON_WECHAT_CONFIG_PATH
fi
# go to prefix dir