redirect-to-shell

A function used to detect and navigate apps into the Hub shell iframe, if it's not loaded within the Hubv2-shell. The URL is also changed to be Hubv2-shell compatible.

Installation#

npm install @iqmetrix/redirect-to-shell

Interface#

const redirectToShell: () => Promise<void>

Example#

import redirectToShell from '@iqmetrix/redirect-to-shell';
await redirectToShell();

Sources#

Last updated on by Paulo Andrade