PMFlow/frontend/.env.example

8 lines
418 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.

# 浏览器侧固定使用同源 /api,不再配置前端直连后端地址。
# 本地 Vite dev server 会把 /api 转发到后端。
#
# Docker dev 栈内已通过 docker-compose.dev.yml 设置为 http://backend:8000。
# 宿主机直接运行 frontend 时默认转发到 http://127.0.0.1:8001;
# 若你是直接在宿主机跑 backend: uvicorn,可覆盖为:
# VITE_DEV_API_PROXY_TARGET=http://127.0.0.1:8000