Skip to content

Commit 0fc3aa3

Browse files
committed
do not throw error if file is not a data loader
1 parent ea807d0 commit 0fc3aa3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/preview.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ class Server {
8484
send(req, filepath, {root: this.cacheRoot}).pipe(res);
8585
return;
8686
}
87-
throw new HttpError("Not found", 404);
8887
} else {
8988
if (normalize(pathname).startsWith("..")) throw new Error("Invalid path: " + pathname);
9089
let path = join(this.root, pathname);

0 commit comments

Comments
 (0)