Skip to content

Commit

Permalink
prevent inconsequential 404
Browse files Browse the repository at this point in the history
  • Loading branch information
JosuaKrause committed Apr 23, 2024
1 parent 325e487 commit 8c8b835
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "quick_server"
description = "QuickServer is a quick to use and easy to set up server implementation."
readme = "README.rst"
version = "0.9.5"
version = "0.9.6"
authors = [
{name = "Josua Krause", email = "josua.krause@gmail.com"},
]
Expand Down
1 change: 1 addition & 0 deletions src/quick_server/quick_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -1193,6 +1193,7 @@ def _translate_path(self, orig_path: str) -> str:
break
# if pass is still None here the file cannot be found
if mpath is None:
self.maybe_proxy_request(orig_path)
# out of luck
if orig_path not in self.common_invalid_paths:
msg(f"no matching folder alias: {orig_path}")
Expand Down

0 comments on commit 8c8b835

Please sign in to comment.