Files
bid-doctor/apps/web/public/config.js
YANG JIANKUAN 6aaf8e768b feat(web): 用户端骨架——登录、工作台、新建项目、解析进度、读标清单
- packages/api-client:从 openapi.yaml 生成类型;cookie + CSRF / Bearer 两种鉴权、
  分片上传、fetch 读事件流(API2)
- apps/web:Vue 3 + Vite + TanStack Query,样式只来自 tokens.css / components.css(AR10);
  扣点说明放在「开始解析」旁边(红线 9);接口地址、路由方式运行时可配(架构 §5.2)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 18:48:10 +08:00

10 lines
552 B
JavaScript
Raw Permalink 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.

/* 标博士用户端运行时配置。部署时按环境替换本文件,不用重新构建。
* apiBaseUrl:接口地址。网页版默认同源 "/api/v1";桌面版写用户选择的服务器,如 "https://saas.example.com/api/v1"。
* routerMode:"history"(网页版)或 "hash"(桌面外壳以 file:// 或自定义协议加载时)。
* routerBase:history 模式下的路由基础路径,部署在子路径时改成如 "/app/"。 */
window.__BD_CONFIG__ = {
apiBaseUrl: "/api/v1",
routerMode: "history",
routerBase: "/",
};