This is a test page for the Custom Viewer.
Before starting, configure these environment variables for this custom viewer test application:
NEXT_PUBLIC_VIEWER_HOST: refers to the DIAL Chat host where you are going to test application.NEXT_PUBLIC_APP_NAME: corresponds to DIAL application name for which viewer should be displayed.
- Run the following command to start the test application:
nx run custom-viewer-test:serve. - The Custom Viewer page will be hosted on http://localhost:5500 and you can configure your DIAL application to use it (see Custom Viewer Configuration) i.e.
"dial:applicationTypeViewerUrl": "http://localhost:5500/"forApplication Type Schema Configuration"viewer_url": "http://localhost:5500/"forDirect URL Configuration