mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-03 21:54:49 -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)
|
.filter((x) => x)
|
||||||
.join("/")
|
.join("/")
|
||||||
|
.replace("//", "/")
|
||||||
.replace("/?", "?");
|
.replace("/?", "?");
|
||||||
let resp;
|
let resp;
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user