mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Prevent double / in path
This commit is contained in:
parent
3665070b97
commit
5f20d9102f
@ -64,6 +64,7 @@ export const queryFn = async <Parser extends z.ZodTypeAny>(
|
||||
)
|
||||
.filter((x) => x)
|
||||
.join("/")
|
||||
.replace("//", "/")
|
||||
.replace("/?", "?");
|
||||
let resp;
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user