Skip to content

basalt / teams-ui/src / teamsPageCsp

Function: teamsPageCsp() ​

> teamsPageCsp(options?): string

Defined in: teams-ui/src/html.ts:73

The Content-Security-Policy matching teamsPageHtml: everything locked down, the page's inline script allowed by sha256 hash. Served by default from teamsUiRoutes so the page works under securityPlugin without weakening the app-wide policy.

Parameters ​

options? ​

TeamsPageOptions = {}

Returns ​

string

Released under the MIT License.