diff --git a/hyperdrive/packages/app-store/public-ui/src/App.tsx b/hyperdrive/packages/app-store/public-ui/src/App.tsx index 8518b3a6f..6725be893 100644 --- a/hyperdrive/packages/app-store/public-ui/src/App.tsx +++ b/hyperdrive/packages/app-store/public-ui/src/App.tsx @@ -10,9 +10,17 @@ const BASE_URL = import.meta.env.BASE_URL; if (window.our) window.our.process = BASE_URL?.replace("/", ""); function App() { + const getBasename = () => { + const path = window.location.pathname; + if (path.startsWith('/main:app-store:sys/public')) { + return '/main:app-store:sys/public'; + } + return '/'; + }; + return (