Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/backend/drivers/139/driver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ export class Yun139Driver implements StorageDriver {
if (foundFolder) {
currentCatalogId = foundFolder.catalogID
} else {
break
throw new Error(
`[139] folder not found: "${part}" in path "${physicalPath}"`,
)
}
}

Expand Down
4 changes: 3 additions & 1 deletion src/backend/server/fs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,9 @@ fsRouter.post("/list", async (c) => {
// 对齐 Go 的路径级缓存策略;前端/上层可据此决定该目录的列表缓存时长。
const cacheExpiration = storage
? resolveCacheExpiration(storage, reqPath)
: undefined
: 0 // Virtual directories must not be cached; a cached Virtual result
// would persist after the real storage comes online, causing the
// 'always shows root / Virtual provider' symptom for subsequent requests.
return c.json({
code: 200,
message: "success",
Expand Down
Loading