mirror of
https://github.com/ZetaKebab/quartz.git
synced 2025-06-22 00:34:37 +00:00
fix(path): handle lone slash (#1713)
This commit is contained in:
@ -188,7 +188,7 @@ export function joinSegments(...args: string[]): string {
|
||||
}
|
||||
|
||||
let joined = args
|
||||
.filter((segment) => segment !== "")
|
||||
.filter((segment) => segment !== "" && segment !== "/")
|
||||
.map((segment) => stripSlashes(segment))
|
||||
.join("/")
|
||||
|
||||
|
Reference in New Issue
Block a user