Private
Public Access
1
0
Files
u-desk/configs/agent.yaml
绝尘 3d5a1e5892 优化:工具栏高度对齐+面板统一+远程连接架构+自动恢复预览
- 工具栏:面包屑与右侧组件像素级等高(:deep 34px)、合并重复search handler、统一分隔符样式、删除死代码
- 面板对齐:三面板header统一padding/font-size、文件列表分页固定底部(自定义紧凑)、表头默认隐藏、滚动条统一样式
- 预览区:始终显示空白预览面板、重启自动恢复上次打开文件
- 收藏夹:简化计数显示(共N项)
- 远程连接:ConnectionIndicator自适应UI(无远程显示mini云图标)、ConnectionDialog支持编辑配置、transport抽象层(本地Wails/远程HTTP双模式)、agent后端模块
2026-04-30 22:25:27 +08:00

30 lines
869 B
YAML
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.
# u-fs-agent 配置文件
# 部署到远端服务器后修改此文件
server:
port: 9876 # 监听端口
host: "0.0.0.0" # 监听地址
auth:
token: "" # API Token留空则不验证生产环境必须设置
# 生成随机 token: openssl rand -hex 32
cors:
allowed_origins:
- "*" # 开发模式允许所有来源
# 生产环境建议限定:
# - "http://localhost:5173"
# - "http://localhost:5174"
log:
level: "info" # debug / info / warn / error
format: "json" # json / text
file_server:
port: 8073 # 内置文件服务器端口(用于媒体预览代理)
max_file_size: 524288000 # 最大文件大小 500MB
security:
allow_symlinks: false # 是否允许符号链接
check_system_paths: true # 检查系统关键目录