feat: 注入环境变量

This commit is contained in:
“张嘉宁” 2023-04-03 19:14:26 +08:00
parent 63f1193b05
commit 5d5519fbbe
2 changed files with 1 additions and 1 deletions

0
.env Normal file
View File

View File

@ -61,4 +61,4 @@ read -p "Enter CODE: " CODE
read -p "Enter PORT: " PORT read -p "Enter PORT: " PORT
# Build and run the project using the environment variables # Build and run the project using the environment variables
OPENAI_API_KEY=$OPENAI_API_KEY CODE=$CODE PORT=$PORT yarn build && OPENAI_API_KEY=$OPENAI_API_KEY CODE=$CODE PORT=$PORT yarn start OPENAI_API_KEY=$OPENAI_API_KEY APPLY_URL=$APPLY_URL API_URL=$API_URL CODE=$CODE PORT=$PORT yarn build && APPLY_URL=$APPLY_URL OPENAI_API_KEY=$OPENAI_API_KEY API_URL=$API_URL CODE=$CODE PORT=$PORT yarn start