Files
MoonTVPlus/.env.example
2025-12-02 01:00:42 +08:00

23 lines
892 B
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.
# 环境变量配置示例
# 复制此文件为 .env.local 并修改配置
# ==========================================
# 弹幕 API 配置
# ==========================================
# 弹幕 API 服务地址(默认: http://localhost:9321
# 用于后端代理转发弹幕请求
DANMAKU_API_BASE=http://localhost:9321
# 弹幕 API Token默认: 87654321
# 如果您的 danmu_api 使用了自定义 token请在此配置
DANMAKU_API_TOKEN=87654321
# ==========================================
# 注意事项
# ==========================================
# 1. 弹幕请求通过后端代理转发,前端不会直接访问 danmu_api
# 2. 确保 danmu_api 服务在配置的地址上正常运行
# 3. 如果 danmu_api 和 LunaTV 在同一台机器上,使用 localhost 即可
# 4. 如果 danmu_api 在其他机器上,请使用完整的 URL如 http://192.168.1.100:9321