fix: use /trainer as the public trainer route
This commit is contained in:
1 parent
74c8504d52
commit
d182cd30fa
12 files changed
+21
-14
No files matched your search
+1
-1
@@ -417,7 +417,7 @@ class Handler(BaseHTTPRequestHandler):
|
||||
if path in ("/sudoku", "/sudoku/"):
|
||||
self._file(WEB_ROOT / "sudoku.html")
|
||||
return
|
||||
if path in ("/lu-trainer", "/lu-trainer/"):
|
||||
if path in ("/trainer", "/trainer/"):
|
||||
self._file(WEB_ROOT / "lu-trainer.html")
|
||||
return
|
||||
if path == "/api/reports":
|
||||
|
||||
Reference in new issue
Block a user