I'm using wix-router to redirect visitors from my site's specific path to another site with the same path.
However, when I use:
let path = request.path;
It returns the path with comma sign (,) rather than slash sign (/).
So, when I am routed from <my-site>/level1/level2/level3 It takes me to <other-site>/level1,level2,level3 and not to <other-site>/level1/level2/level3.
I need to find a way to get the path as a string with "/" or a way to replace all the "," with "/".