Update AGENTS.md: WebDAV VFS complete, protect Download Center
Some checks failed
Test / test (push) Has been cancelled
Test / build (push) Has been cancelled

- Document WebDAV VFS integration status
- Add warning about not affecting Port 11438
- Revert WebDAV routes (temporarily) to protect Download Center
- WebDAV can be tested via CLI: webdav-start --port 8002
This commit is contained in:
Warren
2026-06-19 09:12:37 +08:00
parent eb80c07c85
commit 00824df4ae
2 changed files with 26 additions and 24 deletions

View File

@@ -235,7 +235,7 @@ pub async fn run(port: u16, file: Option<String>) -> anyhow::Result<()> {
.route("/products", get(|| async { Html(include_str!("product_manager.html")) }))
.route("/downloads", get(|| async { Html(include_str!("category_view.html")) }))
.route("/", get(|| async { Html(include_str!("category_view.html")) }))
.layer(DefaultBodyLimit::disable()) // Disable body size limit for large file uploads
.layer(DefaultBodyLimit::disable())
.with_state(state);
let addr = format!("127.0.0.1:{port}");