As part of adding the Browser SDK, a static resource must also be added to the application. It's recommended that a 1x1 pixel transparent PNG be used.
This static resource must be available at the path
/icons/blank.gif and conform to the following requirements:
- There must be no automatic redirect from this URL to another web page.
- You must add a full exception to the content security policy (CSP).
- The image size can be up to 500 bytes.
- The image type must be
- The static resource should include a content type header, for example,
Content-Type:image/pngto avoid prompting the user to download the resource.
The Browser SDK includes a static resource, which can be exposed in a similar way to how the Browser SDK is exposed, using the following code snippet:
app.use('/icons/blank.gif', express.static(__dirname + '/node_modules/adaptive-browser-sdk/blank.gif'));
Previous: Serving the Login Page