- Added username and password validation to the player login screen, improving user feedback for input errors. - Updated the betting preview dialog to conditionally display rebate information based on the applied instant rebate status. - Enhanced documentation in AGENTS.md to clarify credit flow and settlement processes. - Modified .env.example to provide clearer instructions for multi-site deployment configurations.
33 lines
1.4 KiB
Plaintext
33 lines
1.4 KiB
Plaintext
# =============================================================================
|
||
# 玩家端配置:复制为 .env 后按需修改(本地/线上同一套)
|
||
# =============================================================================
|
||
|
||
# -----------------------------------------------------------------------------
|
||
# Laravel API — 唯一必配项
|
||
# - 浏览器请求同源 /api/v1
|
||
# - Next 自动转发到 LOTTERY_API_UPSTREAM(无需宝塔单独配 /api 转发)
|
||
# -----------------------------------------------------------------------------
|
||
# 本地
|
||
LOTTERY_API_UPSTREAM=http://127.0.0.1:8000
|
||
# 线上
|
||
# LOTTERY_API_UPSTREAM=http://127.0.0.1:8000
|
||
# LOTTERY_API_UPSTREAM=https://lotterylaravel.tanumo.com
|
||
|
||
# Next 开发:局域网 IP 访问(逗号分隔 host,无协议)
|
||
# ALLOWED_DEV_ORIGINS=192.168.0.101
|
||
|
||
# 可选:大厅 play/effective 的 ?currency=
|
||
# NEXT_PUBLIC_LOTTERY_PLAY_CURRENCY=NPR
|
||
|
||
# 可选:入口授权失败时返回主站(build 前设置,会打进 JS)
|
||
# NEXT_PUBLIC_MAIN_SITE_URL=http://localhost:5173
|
||
|
||
# 多站点部署时可选:玩家端登录请求附带 site_code 以优先匹配该站(玩家界面无需填写)
|
||
# NEXT_PUBLIC_PLAYER_SITE_CODE=default_site
|
||
|
||
# Reverb:本地全栈联调时取消注释,并 php artisan reverb:start;不配则走轮询
|
||
# NEXT_PUBLIC_REVERB_APP_KEY=
|
||
# NEXT_PUBLIC_REVERB_HOST=127.0.0.1
|
||
# NEXT_PUBLIC_REVERB_PORT=8080
|
||
# NEXT_PUBLIC_REVERB_SCHEME=http
|