You've already forked snikket-web-portal
Compare commits
1 Commits
feature/ht
...
stable/0.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
85536d3748 |
@@ -48,6 +48,10 @@ def context() -> typing.Mapping[str, typing.Any]:
|
|||||||
|
|
||||||
|
|
||||||
@bp.route("/<id_>")
|
@bp.route("/<id_>")
|
||||||
|
async def view_old(id_: str) -> quart.Response:
|
||||||
|
return redirect(url_for(".view", id_=id_))
|
||||||
|
|
||||||
|
|
||||||
@bp.route("/<id_>/")
|
@bp.route("/<id_>/")
|
||||||
async def view(id_: str) -> str:
|
async def view(id_: str) -> str:
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user