PortalConfigCspProperties interface
開發人員入口網站內容安全策略 (CSP) 設定。
屬性
| allowed |
允許的來源,例如 |
| mode | 開發人員入口網站內容安全策略 (CSP) 的模式。 |
| report |
瀏覽器用來報告 CSP 違規的 URL。 |
屬性詳細資料
allowedSources
允許的來源,例如 *.trusted.com、trusted.com、https://。
allowedSources?: string[]
屬性值
string[]
mode
開發人員入口網站內容安全策略 (CSP) 的模式。
mode?: string
屬性值
string
reportUri
瀏覽器用來報告 CSP 違規的 URL。
reportUri?: string[]
屬性值
string[]