diff options
author | Sebastian <sebasjm@gmail.com> | 2023-10-04 14:36:03 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-10-04 14:36:03 -0300 |
commit | 851b2da39c3297ede3d267f3d2534cac213261c1 (patch) | |
tree | 51ee03238cb7d87d21e57c0cdf245a0bc04681f0 /packages/merchant-backoffice-ui/src/hooks/index.ts | |
parent | 535b990215bdd861df5cf6215a5f72a47576f89b (diff) |
fixing issues reported by Christian, wip
Diffstat (limited to 'packages/merchant-backoffice-ui/src/hooks/index.ts')
-rw-r--r-- | packages/merchant-backoffice-ui/src/hooks/index.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/merchant-backoffice-ui/src/hooks/index.ts b/packages/merchant-backoffice-ui/src/hooks/index.ts index ee696779f..498e4eb78 100644 --- a/packages/merchant-backoffice-ui/src/hooks/index.ts +++ b/packages/merchant-backoffice-ui/src/hooks/index.ts @@ -31,7 +31,8 @@ const calculateRootPath = () => { typeof window !== undefined ? window.location.origin + window.location.pathname : "/"; - return rootPath; + + return rootPath.replace("webui/",""); }; const loginTokenCodec = buildCodecForObject<LoginToken>() |