ALLOWED_RESOURCE_TYPES 从 {robot, dataset} 改为 {robot, docs}。现在 WebDAV 路径为:

This commit is contained in:
朱潮 2026-03-09 16:00:07 +08:00
parent 9fd4a099da
commit 4ad1c96bf3

View File

@ -46,7 +46,7 @@ DAV_NS = "DAV:"
DAV_PREFIX = "{DAV:}"
PROJECTS_BASE_DIR = Path("projects")
ALLOWED_RESOURCE_TYPES = {"robot", "dataset"}
ALLOWED_RESOURCE_TYPES = {"robot", "docs"}
# 确保基础目录存在
for resource_type in ALLOWED_RESOURCE_TYPES: