mirror of
https://18126008609:longquanjian123@gitee.com/feigong123/aurask.git
synced 2026-04-19 15:00:35 +00:00
44 lines
972 B
Markdown
44 lines
972 B
Markdown
# Aurask Protal
|
||
|
||
`protal/` 是用户门户目录,目录名按既定要求保留为 `protal`。
|
||
|
||
## 当前页面能力
|
||
|
||
- 未登录时渲染 `/signin` 风格登录页
|
||
- 支持 Google 登录入口
|
||
- 新用户首次登录自动创建独立 workspace
|
||
- 登录后显示:
|
||
- `Workflows`:内嵌 Langflow
|
||
- `Knowledge Base`:内嵌 AnythingLLM
|
||
- 右上角个人中心展示用户、租户、workspace 与基础额度信息
|
||
|
||
## 依赖接口
|
||
|
||
门户依赖以下 API:
|
||
|
||
- `GET /auth/config`
|
||
- `POST /auth/google/login`
|
||
- `GET /auth/session`
|
||
- `POST /auth/logout`
|
||
|
||
## 部署说明
|
||
|
||
门户默认假设:
|
||
|
||
- 生产环境通过 `https://aurask.xyz`
|
||
- API 通过 `https://aurask.xyz/api`
|
||
- Langflow iframe 通过 `https://aurask.xyz/runtime/langflow/`
|
||
- AnythingLLM iframe 通过 `https://aurask.xyz/runtime/anythingllm/`
|
||
|
||
本地调试时会自动回退到:
|
||
|
||
```text
|
||
http://127.0.0.1:8080
|
||
```
|
||
|
||
## 静态资源
|
||
|
||
- `protal/index.html`
|
||
- `protal/main.js`
|
||
- `protal/styles.css`
|