Skip to content

Commit 75a93b7

Browse files
committed
add : env template
1 parent f8111ce commit 75a93b7

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

.env.template

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# 服务端环境变量
2+
API_BASE_URL=your_api_base_url_here
3+
AUTH_TOKEN=your_auth_token_here
4+
5+
# 客户端环境变量(NEXT_PUBLIC_ 前缀)
6+
NEXT_PUBLIC_API_BASE_URL=your_public_api_base_url_here
7+
NEXT_PUBLIC_DATASET_ID=68b1e346220e714542241b8e
8+
NEXT_PUBLIC_WORKFLOW_CARD=your_workflow_card_token_here
9+
NEXT_PUBLIC_KNOW_CHAT=your_know_chat_token_here

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ yarn-error.log*
3131
.pnpm-debug.log*
3232

3333
# env files (can opt-in for committing if needed)
34-
.env*
34+
.env
3535

3636
# vercel
3737
.vercel

0 commit comments

Comments
 (0)