mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-12-03 12:52:45 +08:00
11 lines
229 B
Bash
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
|