?
platform.basePath
The app's serving base path, for the router basename.
platform.basePath: string
Use this as the router basename instead of hardcoding '/', so the app works under any host or mount path.
Usage
import { platform } from '@mindstudio-ai/interface'; createBrowserRouter(routes, { basename: platform.basePath || '/' });