mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
correct fix
This commit is contained in:
parent
b80c9e8ce0
commit
0a5337de8c
@ -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