Delen via


Een URL uitsluiten

Als u een URL wilt uitsluiten van onderschepping, moet u deze vooraf laten gaan door een ! (uitroepteken):

{
  "urlsToWatch": [
    "https://graph.microsoft.com/v1.0/*",
    "https://graph.microsoft.com/beta/*",
    "https://graph.microsoft.us/v1.0/*",
    "https://graph.microsoft.us/beta/*",
    "https://dod-graph.microsoft.us/v1.0/*",
    "https://dod-graph.microsoft.us/beta/*",
    "https://microsoftgraph.chinacloudapi.cn/v1.0/*",
    "https://microsoftgraph.chinacloudapi.cn/beta/*",
    "!https://*.sharepoint.*/*_api/web/GetClientSideComponents",
    "https://*.sharepoint.*/*_api/*",
    "https://*.sharepoint.*/*_vti_bin/*",
    "https://*.sharepoint-df.*/*_api/*",
    "https://*.sharepoint-df.*/*_vti_bin/*"
  ]
}

In het bovenstaande voorbeeld negeert de proxy alle aanvragen die zijn gedaan aan /_api/web/GetClientSideComponents.

Wanneer u URL's uitsluit, moet u er rekening mee houden dat proxy zoekt naar overeenkomende URL's in de volgorde waarin ze zijn gedefinieerd in de configuratie.

Als u specifieke URL's wilt uitsluiten, moet u deze eerst definiƫren voordat meer algemene URL's overeenkomen.