From 4ad1c96bf35687f51de81c00d72fc722b9cf0441 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E6=BD=AE?= Date: Mon, 9 Mar 2026 16:00:07 +0800 Subject: [PATCH] =?UTF-8?q?ALLOWED=5FRESOURCE=5FTYPES=20=E4=BB=8E=20{robot?= =?UTF-8?q?,=20dataset}=20=E6=94=B9=E4=B8=BA=20{robot,=20docs}=E3=80=82?= =?UTF-8?q?=E7=8E=B0=E5=9C=A8=20WebDAV=20=E8=B7=AF=E5=BE=84=E4=B8=BA?= =?UTF-8?q?=EF=BC=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/webdav.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/webdav.py b/routes/webdav.py index 6c712e9..9590f2b 100644 --- a/routes/webdav.py +++ b/routes/webdav.py @@ -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: