mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(rpc): remove trailing slash redirection
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
987f9eab3b
commit
0c1bd982ea
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ def parse_args(request: Request):
|
|||
JSONP_EXPR = re.compile(r'^[a-zA-Z0-9()_.]{1,128}$')
|
||||
|
||||
|
||||
@router.get("/rpc/")
|
||||
@router.get("/rpc")
|
||||
async def rpc(request: Request,
|
||||
v: Optional[int] = Query(default=None),
|
||||
|
|
Loading…
Add table
Reference in a new issue