修复 上传文件失败

Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
萌森 2024-08-23 17:46:07 +08:00
parent e83d28b56f
commit 9f82da6589
2 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,9 @@ if [ -f .env ]; then
# setup-2 remove empty values
sed -i '/^.*=""/d' .env
# setup-3 update directory permissions
chmod 777 -R "$OUTLINE_ROOT_PATH"
echo "Check Finish."
else

View File

@ -8,6 +8,8 @@ if [ -f .env ]; then
sed -i '/^ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
chmod 777 -R "$OUTLINE_ROOT_PATH"
echo "Check Finish."
else