mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-22 05:02:57 +00:00
This commit removes the deprecated frontend/web-old directory, updates various project configuration files including tsconfig, vite config, environment variables, and backend data models. It also fixes several API paths, adds tenant awareness to multiple models, and makes minor UI adjustments.
22 lines
703 B
Bash
Executable File
22 lines
703 B
Bash
Executable File
# 【开发】环境变量 - 覆盖通用配置
|
|
|
|
# 环境标识
|
|
VITE_APP_ENV = development
|
|
|
|
# 项目名称
|
|
VITE_APP_TITLE = FastAPI Admin
|
|
|
|
# 浏览器侧同源前缀(与 Vite 代理配合时用 /,请求走 localhost:端口 + 代理)
|
|
VITE_API_URL = /
|
|
|
|
# 代理目标:本机后端(若出现 ENOTFOUND,说明上面域名在当前网络/DNS 下不可解析,改用本地或可用地址)
|
|
VITE_API_BASE_URL = http://127.0.0.1:8001
|
|
# VITE_API_BASE_URL = https://service.fastapiadmin.com
|
|
|
|
# 是否删除控制台输出
|
|
VITE_DROP_CONSOLE = false
|
|
|
|
# WebSocket 端点(AI对话功能需要配置)
|
|
VITE_APP_WS_ENDPOINT = ws://localhost:8001
|
|
# VITE_APP_WS_ENDPOINT = wss://service.fastapiadmin.com
|