-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,7 +84,6 @@ class Server { | |
send(req, filepath, {root: this.cacheRoot}).pipe(res); | ||
return; | ||
} | ||
throw new HttpError("Not found", 404); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
cinxmo
Author
Contributor
|
||
} else { | ||
if (normalize(pathname).startsWith("..")) throw new Error("Invalid path: " + pathname); | ||
let path = join(this.root, pathname); | ||
|
This is the error for when you request a _file/ Url that doesn't exist as a file or a loader, so I think we need this. What was the problem it was fixing?