// .env 文件 # Glob API URL 不用修改 VITE_GLOB_API_URL=/api // 后端的url地址,本地与部署应该不同 VITE_APP_API_BASE_URL=http://127.0.0.1:3002/ # Whether long replies are supported, which may result in higher API fees VITE_GLOB_OPEN_LONG_REPLY=true # When you want to use PWA VITE_GLOB_APP_PWA=false
# Secret key for jwt # If not empty, will need login # 加密的盐,一定要设置,不设置就没登录,人人白嫖了 AUTH_SECRET_KEY=
# ----- Only valid after setting AUTH_SECRET_KEY begin ---- # Allow anyone register 是否允许每个人注册 REGISTER_ENABLED=false # Enable register application review 是否需要再审核才激活账号 REGISTER_REVIEW=false # The site domain, Only for registration account verification # without end / # 前端网址,在发送的邮件里用的上 SITE_DOMAIN=http://127.0.0.1:1002
# Allowed Email Providers, If it is empty, any mailbox is allowed # 允许的邮箱后缀 REGISTER_MAILS=@qq.com,@sina.com,@163.com
# The roon user only email # 管理员的邮箱 ROOT_USER=
# Password salt PASSWORD_MD5_SALT=anysalt
# User register email verify SMTP_HOST=smtp.exmail.qq.com SMTP_PORT=465 SMTP_TSL=true SMTP_USERNAME=yourname@example.com SMTP_PASSWORD=yourpassword
# ----- Only valid after setting AUTH_SECRET_KEY end ----