Fixing Vue Router's cleanPath Function

# Introduction In this challenge, we will be fixing a bug in the code of version vue-router v3.5.2. The bug causes paths starting with multiple slashes (///) to redirect to another domain. To fix this issue, we need to modify the cleanPath function and ensure that it correctly replaces all occurrences of multiple slashes with a single slash.

|
60 : 00

Click the virtual machine below to start practicing