Skip to content

Commit c0e770c

Browse files
committed
fix: remove NotFoundError for files starting with '._'
1 parent 0f5e19d commit c0e770c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/webdav/handlers/GET.handler.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ export class GETRequestHandler implements WebDavMethodHandler {
2626
const { driveFileService, authService, networkFacade } = this.dependencies;
2727
const resource = await WebDavUtils.getRequestedResource(req.url);
2828

29-
if (resource.name.startsWith('._')) throw new NotFoundError('File not found');
30-
3129
webdavLogger.info(`[GET] Request received item at ${resource.url}`);
3230
const driveFile = await WebDavUtils.getDriveFileFromResource({
3331
url: resource.url,

0 commit comments

Comments
 (0)