appstore-1panel/apps/chatgpt-next-web/2.14.0/scripts/upgrade.sh
renovate[bot] b3d14b4d29
chore(deps): update yidadaa/chatgpt-next-web docker tag to v2.14.0 (#1816)
* chore(deps): update yidadaa/chatgpt-next-web docker tag to v2.14.0

* Update app version [skip ci]

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
2024-07-29 16:39:47 +08:00

11 lines
229 B
Bash

#!/bin/bash
if [[ -f ./.env ]]; then
if grep -q "WHITE_WEBDEV_ENDPOINTS" ./.env; then
echo "WHITE_WEBDEV_ENDPOINTS 已存在"
else
echo 'WHITE_WEBDEV_ENDPOINTS=""' >> ./.env
fi
else
echo ".env 文件不存在"
fi