Bridge integration
This commit is contained in:
parent
42a5e09c94
commit
162390008b
56 changed files with 776 additions and 591 deletions
10
packages/bridge-ui/lib/frontendUtils.ts
Normal file
10
packages/bridge-ui/lib/frontendUtils.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
export const getBasePath = (): string => {
|
||||
if (
|
||||
typeof window !== "undefined" &&
|
||||
window?.location?.pathname?.includes("/admin/bridge")
|
||||
) {
|
||||
return "/admin/bridge/";
|
||||
}
|
||||
|
||||
return "/";
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue