spartacus icon indicating copy to clipboard operation
spartacus copied to clipboard

country is getting appended twice in URL - storefront(spartacus)

Open KiruthikaKannanAngularDeveloper opened this issue 2 years ago • 1 comments

I'm having trouble with the basesite service. We currently have three websites: global, cn (China), and tw (Taiwan) (Taiwan) To pick the region, we have a drop-down menu on the global site. Using baseservice(spartacus), the selected region is set. this.baseSiteService.setActive(region); localhost:4200/cn/cn When the above line has run, appears in the URL Could someone please explain how it is appended twice in the url and how to override this?

hi, could you provide steps on reproducing this scenario? like if you start with a fresh spartacus and backend, and configure just the base sites, and then give us logs? might be better to post his question on stack overflow with tag spartacus-storefront, since it's more about implementation issue (unless you can give us steps for repro'ing and seeing a bug that is)

Xymmer avatar Jul 13 '22 17:07 Xymmer