Files
WanderQ-MiniAPP2.0/.env.example
2026-07-24 14:55:13 +08:00

22 lines
1.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

DATABASE_URL="postgresql://miniapp:miniapp_dev_password@localhost:5433/miniapp?schema=public"
# 不要设置 MINIAPP_MEMORY_DB=1内存模式不会持久化后台配置仅用于临时演示。
JWT_SECRET="replace-with-a-long-random-secret-before-production"
WECHAT_APP_ID="your-wechat-mini-program-app-id"
WECHAT_APP_SECRET="your-wechat-mini-program-app-secret"
MINIAPP_MOCK_AUTH="0"
PORT=4000
MEDIA_PUBLIC_BASE_URL=""
OSS_ACCESS_KEY_ID=""
OSS_ACCESS_KEY_SECRET=""
OSS_ENDPOINT="oss-cn-guangzhou.aliyuncs.com"
OSS_BUCKET_NAME="one-feel-bucket"
# 可选OSS_REGION默认从 OSS_ENDPOINT 推导
# OSS_REGION="oss-cn-guangzhou"
VITE_API_BASE_URL="http://localhost:4000"
CORS_ORIGINS="https://wanderq.nianxx.com"
VITE_MEDIA_PUBLIC_BASE_URL=""
VITE_WECOM_CUSTOMER_SERVICE_URL="https://work.weixin.qq.com/kfid/your-customer-service-link"
VITE_WECOM_CORP_ID="ww_your_corp_id"
# Taro 会将这个地址编译进微信小程序;生产环境请填写已备案并加入 request 合法域名的 HTTPS API 地址
TARO_APP_API_BASE_URL="https://biz.wanderqtrip.com/api"