mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
fix
This commit is contained in:
parent
930b4dd563
commit
6f5ee2d7d1
@ -61,7 +61,7 @@ function joinUrlPath(...segments: string[]): string {
|
||||
return segments
|
||||
.filter(segment => segment && segment.length > 0)
|
||||
.join('/')
|
||||
.replace(/\/+/g, '/'); // Remove duplicate slashes
|
||||
.replace(/\\/+/g, '/'); // Remove duplicate slashes
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user